bdy 1.18.28-dev → 1.18.29-dev

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.18.28-dev",
4
+ "version": "1.18.29-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -188,7 +188,7 @@ const checkPath = async (dir, options) => {
188
188
  return { path, git };
189
189
  };
190
190
  const createOrGetProject = async (path, options) => {
191
- const workspace = input_1.default.restApiWorkspace(options.workspace);
191
+ const workspace = input_1.default.restApiWorkspace(options.workspace, false, true);
192
192
  const client = input_1.default.restApiTokenClient();
193
193
  let project = options.project;
194
194
  let url;
@@ -475,12 +475,12 @@ class Input {
475
475
  }
476
476
  return p;
477
477
  }
478
- static restApiWorkspace(workspace, allowNull) {
478
+ static restApiWorkspace(workspace, allowNull, ignoreProjectConfig = false) {
479
479
  const ProjectCfg = require('./project/cfg').default;
480
480
  let w = process.env.BUDDY_WORKSPACE;
481
481
  if (workspace)
482
482
  w = workspace;
483
- if (!w)
483
+ if (!w && !ignoreProjectConfig)
484
484
  w = ProjectCfg.getWorkspace();
485
485
  if (!w)
486
486
  w = cfg_1.default.getWorkspace();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.18.28-dev",
4
+ "version": "1.18.29-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {