|
|
|
@ -209,7 +209,7 @@ var details = function () { return ({
|
|
|
|
exports.details = details;
|
|
|
|
exports.details = details;
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function () {
|
|
|
|
var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function () {
|
|
|
|
var lib, userCli, useCustomCliPath, customCliPath, cliPath, outputFileBecomesWorkingFile, userOutputFilePath, cliArguments, cacheDir, fileName, cliArgs, availableCli, msg, cli, res, msg;
|
|
|
|
var lib, userCli, useCustomCliPath, customCliPath, cliPath, doesCommandCreateOutputFile, outputFileBecomesWorkingFile, userOutputFilePath, cliArguments, cacheDir, fileName, cliArgs, availableCli, msg, cli, res, msg;
|
|
|
|
return __generator(this, function (_a) {
|
|
|
|
return __generator(this, function (_a) {
|
|
|
|
switch (_a.label) {
|
|
|
|
switch (_a.label) {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
@ -220,7 +220,11 @@ var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function
|
|
|
|
useCustomCliPath = args.inputs.useCustomCliPath;
|
|
|
|
useCustomCliPath = args.inputs.useCustomCliPath;
|
|
|
|
customCliPath = String(args.inputs.customCliPath);
|
|
|
|
customCliPath = String(args.inputs.customCliPath);
|
|
|
|
cliPath = '';
|
|
|
|
cliPath = '';
|
|
|
|
|
|
|
|
doesCommandCreateOutputFile = args.inputs.doesCommandCreateOutputFile;
|
|
|
|
outputFileBecomesWorkingFile = args.inputs.outputFileBecomesWorkingFile;
|
|
|
|
outputFileBecomesWorkingFile = args.inputs.outputFileBecomesWorkingFile;
|
|
|
|
|
|
|
|
if (!doesCommandCreateOutputFile) {
|
|
|
|
|
|
|
|
outputFileBecomesWorkingFile = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
userOutputFilePath = String(args.inputs.userOutputFilePath);
|
|
|
|
userOutputFilePath = String(args.inputs.userOutputFilePath);
|
|
|
|
cliArguments = String(args.inputs.cliArguments);
|
|
|
|
cliArguments = String(args.inputs.cliArguments);
|
|
|
|
// eslint-disable-next-line no-template-curly-in-string
|
|
|
|
// eslint-disable-next-line no-template-curly-in-string
|
|
|
|
|