orchestrating 0.1.14 → 0.1.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/orch +2 -1
- package/package.json +1 -1
package/bin/orch
CHANGED
|
@@ -217,7 +217,8 @@ let sessionId;
|
|
|
217
217
|
const hostname = os.hostname();
|
|
218
218
|
const serverUrl = process.env.ORC_URL || process.env.CAST_URL || "wss://api.orchestrat.ing/ws";
|
|
219
219
|
const authToken = getAuthToken();
|
|
220
|
-
const
|
|
220
|
+
const cwdFolder = path.basename(process.cwd());
|
|
221
|
+
const effectiveLabel = label || cwdFolder || commandArgs.join(" ");
|
|
221
222
|
|
|
222
223
|
// Warn if no auth and connecting to remote server
|
|
223
224
|
if (!authToken && !serverUrl.includes("localhost") && !serverUrl.includes("127.0.0.1")) {
|