mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
fix(lint): fix cli quotes
linting was failing
This commit is contained in:
parent
b1ff7c14ce
commit
9eee32cd85
4
cli.js
4
cli.js
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user