mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01: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}`);
|
||||
|
||||
const optArgs = process.argv.slice(3, 0);
|
||||
const optArgs = process.argv.slice(3);
|
||||
|
||||
// Should we autofix?
|
||||
const autoFix = optArgs.indexOf('autofix') !== -1;
|
||||
|
|
Loading…
Reference in a new issue