worker-farm version

This commit is contained in:
Bob Mottram 2018-04-02 16:29:27 +01:00
parent 90c9b3f44d
commit 5125030fca
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ function nodejs_fix_cpu_detection {
sed -i "s|require('os').cpus.*|1|g" "$rootdir/usr/lib/node_modules/npm/node_modules/worker-farm/lib/farm.js"
fi
# installing worker farm fixes the cpu detection bug
$mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g worker-farm@1.5.2 --save
$mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g worker-farm@1.6.0 --save
}
function mesh_install_nodejs {