mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 07:35:05 -04:00
checkPlugin: Fix command-line argument parsing bug
This commit is contained in:
parent
fd3004faad
commit
ba1c468865
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ const pluginPath = `node_modules/${pluginName}`;
|
||||||
|
|
||||||
console.log(`Checking the plugin: ${pluginName}`);
|
console.log(`Checking the plugin: ${pluginName}`);
|
||||||
|
|
||||||
const optArgs = process.argv.slice(3, 0);
|
const optArgs = process.argv.slice(3);
|
||||||
|
|
||||||
// Should we autofix?
|
// Should we autofix?
|
||||||
const autoFix = optArgs.indexOf('autofix') !== -1;
|
const autoFix = optArgs.indexOf('autofix') !== -1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue