@autofleet/cli 1.0.13 → 1.0.15
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.
- package/bin/utils/index.js +2 -1
- package/package.json +1 -1
package/bin/utils/index.js
CHANGED
|
@@ -14,6 +14,7 @@ const CLUSTER_TO_CMD_MAP = {
|
|
|
14
14
|
export const terminalCommand = async (command) => {
|
|
15
15
|
const output = await asyncExec(command);
|
|
16
16
|
const formattedOutput = output.stdout.trim();
|
|
17
|
+
console.log(formattedOutput);
|
|
17
18
|
return formattedOutput;
|
|
18
19
|
};
|
|
19
20
|
const connectToCluster = async (clusterName) => {
|
|
@@ -21,7 +22,7 @@ const connectToCluster = async (clusterName) => {
|
|
|
21
22
|
if (!command) {
|
|
22
23
|
throw new Error(`Cluster name ${clusterName} does not exist!`);
|
|
23
24
|
}
|
|
24
|
-
await terminalCommand(
|
|
25
|
+
await terminalCommand(command);
|
|
25
26
|
};
|
|
26
27
|
export const connectAndGetPrefix = async ({ clusterName, variationId }) => {
|
|
27
28
|
await connectToCluster(clusterName);
|