mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
Fixed installation.
This commit is contained in:
parent
6f263ab15d
commit
ca552c067d
1 changed files with 3 additions and 2 deletions
|
@ -13,13 +13,14 @@ if (process.argv.length === 2) {
|
|||
let plugins = process.argv.slice(2)
|
||||
let installFromPath = false;
|
||||
|
||||
const thirdOptPlug = plugins[3]
|
||||
const thirdOptPlug = plugins[0]
|
||||
|
||||
console.log("Third option: ", thirdOptPlug)
|
||||
if (thirdOptPlug && thirdOptPlug.includes('path')) {
|
||||
installFromPath = true
|
||||
plugins.splice(plugins.indexOf('--path'), 1);
|
||||
}
|
||||
|
||||
plugins = plugins.splice(plugins.indexOf('--path'), 1);
|
||||
|
||||
const persistInstalledPlugins = async () => {
|
||||
const plugins:PackageData[] = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue