@mono-labs/cli 0.0.60 → 0.0.61
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.
|
@@ -18,12 +18,10 @@ export function executeCommandsIfWorkspaceAction(action, commands = []) {
|
|
|
18
18
|
|
|
19
19
|
const workspaces = result.map((w) => w.name);
|
|
20
20
|
console.log('workspacemap', workspacemap);
|
|
21
|
-
const workspaceMapAction =
|
|
22
|
-
workspacemap ? workspacemap[action[1]] || action[1] : action[1];
|
|
23
21
|
console.log('workspacemap', workspacemap !== undefined);
|
|
24
22
|
console.log('workspacemap:key', workspacemap[action[1]]);
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
const actualAction =
|
|
24
|
+
workspacemap ? workspacemap[action[1]] || action[1] : action[1];
|
|
27
25
|
console.log('actualAction', actualAction);
|
|
28
26
|
console.log('workspaces', workspaces);
|
|
29
27
|
console.log('action', action);
|
|
@@ -35,8 +33,6 @@ export function executeCommandsIfWorkspaceAction(action, commands = []) {
|
|
|
35
33
|
|
|
36
34
|
console.log('workspacesList', workspacesList);
|
|
37
35
|
|
|
38
|
-
const actualAction2 = actualAction;
|
|
39
|
-
|
|
40
36
|
console.log('unfiltered result', result);
|
|
41
37
|
const filteredResult =
|
|
42
38
|
result.filter((obj) => obj.name === actualAction)[0] || {};
|