@mablhq/mabl-cli 1.40.4 → 1.40.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -126,7 +126,6 @@ exports.builder = (yargs) => {
|
|
|
126
126
|
})
|
|
127
127
|
.option(constants_1.CommandArgNoPrompt, {
|
|
128
128
|
describe: 'Do not prompt to confirm execution selections',
|
|
129
|
-
type: 'boolean',
|
|
130
129
|
alias: constants_1.CommandArgAliases.NoPrompt,
|
|
131
130
|
})
|
|
132
131
|
.check((argv) => (0, testsUtil_1.validateRunCommandWithLabels)(argv[constants_1.CommandArgId], argv[constants_1.CommandArgLabelsInclude], argv[constants_1.CommandArgLabelsExclude]));
|
|
@@ -136,7 +135,7 @@ async function runInCloud(parsed) {
|
|
|
136
135
|
var _a;
|
|
137
136
|
const apiClient = await mablApiClientFactory_1.MablApiClientFactory.createApiClientFromOptionalApiKey(parsed['api-key']);
|
|
138
137
|
const workspaceId = await (0, util_1.getWorkspaceId)(parsed);
|
|
139
|
-
const prompt = parsed.prompt;
|
|
138
|
+
const prompt = parsed.prompt && !parsed[constants_1.CommandArgNoPrompt];
|
|
140
139
|
const branchName = parsed['mabl-branch'] || constants_1.DefaultBranchName;
|
|
141
140
|
const branchChangesOnly = parsed['branch-changes-only'];
|
|
142
141
|
const maybeTestId = parsed.id;
|