@intuned/runtime-dev 1.0.6-cli-auth.0.0.13-test → 1.0.6-cli-auth.0.0.15-test
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.
|
@@ -134,15 +134,7 @@ async function runCheckApiViaCLI(authSessionPath) {
|
|
|
134
134
|
importFunction: _tsNodeImport.tsNodeImport
|
|
135
135
|
});
|
|
136
136
|
if (runApiResult.isErr()) {
|
|
137
|
-
|
|
138
|
-
throw runApiResult.error.error;
|
|
139
|
-
}
|
|
140
|
-
if (runApiResult.error.message === _types.CHECK_FAILED_ERROR_MESSAGE) {
|
|
141
|
-
return false;
|
|
142
|
-
} else {
|
|
143
|
-
console.error(runApiResult.error);
|
|
144
|
-
throw new Error("Error while running check");
|
|
145
|
-
}
|
|
137
|
+
return false;
|
|
146
138
|
}
|
|
147
139
|
const result = runApiResult.value.result;
|
|
148
140
|
if (!result) {
|
|
@@ -50,7 +50,6 @@ _commander.program.name("intuned-run").description("Run an Intuned API with para
|
|
|
50
50
|
await (0, _utils.writeResultToFile)(runId, result, payloadToAppend);
|
|
51
51
|
} catch (error) {
|
|
52
52
|
console.error(_chalk.default.red(`\nError: ${error.message}`));
|
|
53
|
-
process.exit(1);
|
|
54
53
|
} finally {
|
|
55
54
|
process.exit(0);
|
|
56
55
|
}
|