@intuned/runtime-dev 1.0.6-cli-auth.0.0.12-test → 1.0.6-cli-auth.0.0.14-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.
|
@@ -137,8 +137,7 @@ async function runCheckApiViaCLI(authSessionPath) {
|
|
|
137
137
|
if (runApiResult.error instanceof _runApi.AutomationError) {
|
|
138
138
|
throw runApiResult.error.error;
|
|
139
139
|
}
|
|
140
|
-
|
|
141
|
-
throw new Error("Error running auth session check");
|
|
140
|
+
return false;
|
|
142
141
|
}
|
|
143
142
|
const result = runApiResult.value.result;
|
|
144
143
|
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
|
}
|