@intuned/runtime-dev 1.0.6-cli.8.2.7 → 1.0.6-cli.8.2.8
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.
|
@@ -308,11 +308,10 @@ const checkIntunedProjectDeployStatus = async (workspaceId, projectName, apiKey)
|
|
|
308
308
|
}
|
|
309
309
|
const data = await response.json();
|
|
310
310
|
if (data.status) {
|
|
311
|
-
console.log("DATA:", data);
|
|
312
311
|
return {
|
|
313
312
|
status: data.status,
|
|
314
313
|
message: data.message,
|
|
315
|
-
result: data.
|
|
314
|
+
result: data.projectId
|
|
316
315
|
};
|
|
317
316
|
}
|
|
318
317
|
return {
|
package/dist/common/cli/utils.js
CHANGED
|
@@ -13,7 +13,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
13
13
|
async function getAuthCredentials(options) {
|
|
14
14
|
const workspaceId = options.workspaceId || (await getSettingIntunedJSON("workspaceId"));
|
|
15
15
|
const apiKey = options.apiKey || process.env.INTUNED_API_KEY;
|
|
16
|
-
if (!workspaceId || !
|
|
16
|
+
if (!workspaceId || !apiKey) {
|
|
17
17
|
throw new Error("Authentication details are required. Please provide them via command line options(api key, workspace id), intuned.json(workspace id) or environment variables(api key).");
|
|
18
18
|
}
|
|
19
19
|
return {
|