Print a message before installing dependencies in npm post install

Should make it easier to see what it's doing and debugging failures.
This commit is contained in:
Segev Finer 2019-01-23 23:39:04 +02:00
parent fc0002cb66
commit ba41bffa99

View file

@ -17,6 +17,7 @@ function yarnInstall(location, opts) {
opts.cwd = location;
opts.stdio = 'inherit';
console.log('Installing dependencies in \'%s\'.', location);
const result = cp.spawnSync(yarn, ['install'], opts);
if (result.error || result.status !== 0) {