pass root_dir using proper bash arg

This commit is contained in:
Jeff Kenney
2021-03-06 00:00:33 -08:00
parent 4c6543136b
commit b977d6544b
3 changed files with 4 additions and 4 deletions

4
dist/index.js vendored
View File

@@ -16282,7 +16282,7 @@ Fingerprint._oldVersionDetect = function (obj) {
"use strict";
var RETRIABLE_ERRORS = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED', 'EHOSTUNREACH', 'EPIPE', 'EAI_AGAIN'];
var RETRIABLE_ERRORS = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED', 'EHOSTUNREACH', 'EPIPE', 'EAI_AGAIN', 'EBUSY'];
var _ = __webpack_require__(557);
/**
@@ -54220,7 +54220,7 @@ var buildExec = function () {
execArgs.push('-T', "" + overrideTag);
}
if (rootDir) {
execArgs.push('-N', "" + rootDir);
execArgs.push('-R', "" + rootDir);
}
if (searchDir) {
execArgs.push('-s', "" + searchDir);

View File

@@ -117,7 +117,7 @@ test('all arguments', () => {
'2',
'-T',
'v1.2',
'-N',
'-R',
'root/',
'-s',
'coverage/',

View File

@@ -136,7 +136,7 @@ const buildExec = () => {
execArgs.push('-T', `${overrideTag}`);
}
if (rootDir) {
execArgs.push('-N', `${rootDir}`);
execArgs.push('-R', `${rootDir}`);
}
if (searchDir) {
execArgs.push('-s', `${searchDir}`);