Add Eric's e2e test change to get more coverage

This commit is contained in:
Aiqiao Yan 2020-05-12 16:36:56 -04:00
parent 0232e3178d
commit 3f662ca624
7 changed files with 143 additions and 20 deletions

3
dist/save/index.js vendored
View file

@ -2981,6 +2981,7 @@ const exec_1 = __webpack_require__(986);
const io = __importStar(__webpack_require__(1));
const fs_1 = __webpack_require__(747);
const path = __importStar(__webpack_require__(622));
const tar = __importStar(__webpack_require__(943));
function isGnuTar() {
return __awaiter(this, void 0, void 0, function* () {
core.debug("Checking tar --version");
@ -3007,7 +3008,7 @@ function getTarPath(args) {
if (fs_1.existsSync(systemTar)) {
return systemTar;
}
else if (yield isGnuTar()) {
else if (yield tar.isGnuTar()) {
args.push("--force-local");
}
}