Merge pull request #241 from jeffkenney/fix-root-dir-arg

pass root_dir using proper bash arg
This commit is contained in:
Tom Hu
2021-03-09 10:14:26 -05:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

4
dist/index.js vendored
View File

@@ -17533,7 +17533,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);
/**
@@ -59636,7 +59636,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

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

View File

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