update
This commit is contained in:
parent
2d34e3e9eb
commit
270ff4bb40
2
dist/mod_test/index.js
vendored
2
dist/mod_test/index.js
vendored
@ -14,7 +14,7 @@ const npmciMods = require("../npmci.mods");
|
||||
let npmDependencies = () => __awaiter(this, void 0, void 0, function* () {
|
||||
plugins.beautylog.info('now installing dependencies:');
|
||||
if (yield npmci_bash_1.yarnAvailable.promise) {
|
||||
yield npmci_bash_1.bash('yarn upgrade');
|
||||
yield npmci_bash_1.bash('yarn install');
|
||||
}
|
||||
else {
|
||||
yield npmci_bash_1.bash('npm install');
|
||||
|
@ -9,7 +9,7 @@ import { Dockerfile } from '../mod_docker/index'
|
||||
let npmDependencies = async (): Promise<void> => {
|
||||
plugins.beautylog.info('now installing dependencies:')
|
||||
if (await yarnAvailable.promise) {
|
||||
await bash('yarn upgrade')
|
||||
await bash('yarn install')
|
||||
} else {
|
||||
await bash('npm install')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user