fix(lint): fix cli quotes

linting was failing
This commit is contained in:
vvo 2016-01-05 17:05:19 +01:00
parent b1ff7c14ce
commit 9eee32cd85

4
cli.js
View File

@ -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);
@ -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);