fix(NA): remove mutex from kbn bootstrap script as all jobs are running isolated. (#26058)

This commit is contained in:
Tiago Costa 2018-11-22 02:59:38 +00:00 committed by GitHub
parent bdcccfb304
commit 5e247f506c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -19655,7 +19655,7 @@ exports.runScriptInPackage = exports.installInDir = undefined;
*/
let installInDir = exports.installInDir = (() => {
var _ref = _asyncToGenerator(function* (directory, extraArgs = []) {
const options = ['install', '--non-interactive', '--mutex=file', ...extraArgs];
const options = ['install', '--non-interactive', ...extraArgs];
// We pass the mutex flag to ensure only one instance of yarn runs at any
// given time (e.g. to avoid conflicts).
yield (0, _child_process.spawn)('yarn', options, {

View file

@ -24,7 +24,7 @@ import { Project } from './project';
* Install all dependencies in the given directory
*/
export async function installInDir(directory: string, extraArgs: string[] = []) {
const options = ['install', '--non-interactive', '--mutex=file', ...extraArgs];
const options = ['install', '--non-interactive', ...extraArgs];
// We pass the mutex flag to ensure only one instance of yarn runs at any
// given time (e.g. to avoid conflicts).