Skip to content

Commit

Permalink
pass root_dir using proper bash arg
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkenney committed Mar 6, 2021
1 parent 4c65431 commit b977d65
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/**
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/buildExec.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ test('all arguments', () => {
'2',
'-T',
'v1.2',
'-N',
'-R',
'root/',
'-s',
'coverage/',
Expand Down
2 changes: 1 addition & 1 deletion src/buildExec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit b977d65

Please sign in to comment.