add option for npm access level
This commit is contained in:
@ -1,13 +1,15 @@
|
||||
import * as plugins from './mod.plugins'
|
||||
import { bash } from '../npmci.bash'
|
||||
import * as plugins from './mod.plugins';
|
||||
import { bash } from '../npmci.bash';
|
||||
|
||||
export let command = async () => {
|
||||
let wrappedCommand: string = ''
|
||||
let argvArray = process.argv
|
||||
let wrappedCommand: string = '';
|
||||
let argvArray = process.argv;
|
||||
for (let i = 3; i < argvArray.length; i++) {
|
||||
wrappedCommand = wrappedCommand + argvArray[i]
|
||||
if (i + 1 !== argvArray.length) { wrappedCommand = wrappedCommand + ' ' }
|
||||
wrappedCommand = wrappedCommand + argvArray[i];
|
||||
if (i + 1 !== argvArray.length) {
|
||||
wrappedCommand = wrappedCommand + ' ';
|
||||
}
|
||||
}
|
||||
await bash(wrappedCommand)
|
||||
return
|
||||
}
|
||||
await bash(wrappedCommand);
|
||||
return;
|
||||
};
|
||||
|
@ -1 +1 @@
|
||||
export * from '../npmci.plugins'
|
||||
export * from '../npmci.plugins';
|
||||
|
Reference in New Issue
Block a user