@intuned/runtime-dev 1.0.6-cli-auth.0.0.14-test → 1.0.6-cli-auth.0.0.16-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,14 +134,11 @@ async function runCheckApiViaCLI(authSessionPath) {
|
|
|
134
134
|
importFunction: _tsNodeImport.tsNodeImport
|
|
135
135
|
});
|
|
136
136
|
if (runApiResult.isErr()) {
|
|
137
|
-
if (runApiResult.error instanceof _runApi.AutomationError) {
|
|
138
|
-
throw runApiResult.error.error;
|
|
139
|
-
}
|
|
140
137
|
return false;
|
|
141
138
|
}
|
|
142
139
|
const result = runApiResult.value.result;
|
|
143
140
|
if (!result) {
|
|
144
|
-
|
|
141
|
+
return false;
|
|
145
142
|
}
|
|
146
143
|
return result;
|
|
147
144
|
}
|