Skip to content

Commit

Permalink
Merge pull request jsdoc#1139 from algolia/fix/lint-cli-double-quotes
Browse files Browse the repository at this point in the history
fix(lint): fix cli quotes
  • Loading branch information
hegemonic committed Jan 5, 2016
2 parents 45d9b5e + 9eee32c commit 3d7004a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function resolvePluginPaths(paths) {
// convoluted way to detect the correct path for the plugins; done this round-about way to cope
// with scenarios where JSDoc is executed in another project's working directory where that
// project has plugins of itself in a similar directory structure (plugins/*)
var pluginPath = path.getResourcePath(dirname, basename + ".js");
var pluginPath = path.getResourcePath(dirname, basename + '.js');

if (!pluginPath) {
logger.error('Unable to find the plugin "%s"', plugin);
Expand Down Expand Up @@ -419,7 +419,7 @@ cli.generateDocs = function() {
// convoluted way to detect the correct path for the templates; done this round-about way to cope
// with scenarios where JSDoc is executed in another project's working directory where that
// project has templates of itself in a similar directory structure (templates/<name>/)
var templatePath = path.getResourcePath(publish, "publish.js");
var templatePath = path.getResourcePath(publish, 'publish.js');

if (!templatePath) {
logger.error('Unable to find the template "%s"', publish);
Expand Down

0 comments on commit 3d7004a

Please sign in to comment.