This commit is contained in:
Philipp Kunz 2017-06-30 23:33:56 +02:00
parent 2d34e3e9eb
commit 270ff4bb40
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ const npmciMods = require("../npmci.mods");
let npmDependencies = () => __awaiter(this, void 0, void 0, function* () { let npmDependencies = () => __awaiter(this, void 0, void 0, function* () {
plugins.beautylog.info('now installing dependencies:'); plugins.beautylog.info('now installing dependencies:');
if (yield npmci_bash_1.yarnAvailable.promise) { if (yield npmci_bash_1.yarnAvailable.promise) {
yield npmci_bash_1.bash('yarn upgrade'); yield npmci_bash_1.bash('yarn install');
} }
else { else {
yield npmci_bash_1.bash('npm install'); yield npmci_bash_1.bash('npm install');

View File

@ -9,7 +9,7 @@ import { Dockerfile } from '../mod_docker/index'
let npmDependencies = async (): Promise<void> => { let npmDependencies = async (): Promise<void> => {
plugins.beautylog.info('now installing dependencies:') plugins.beautylog.info('now installing dependencies:')
if (await yarnAvailable.promise) { if (await yarnAvailable.promise) {
await bash('yarn upgrade') await bash('yarn install')
} else { } else {
await bash('npm install') await bash('npm install')
} }