bajo 0.2.2 → 0.2.3

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.
Files changed (2) hide show
  1. package/boot/index.js +1 -2
  2. package/package.json +1 -1
package/boot/index.js CHANGED
@@ -19,7 +19,6 @@ import exitHandler from './exit-handler.js'
19
19
  import runTool from './run-tool.js'
20
20
  import shim from './lib/shim.js'
21
21
  import { last } from 'lodash-es'
22
- import path from 'path'
23
22
  import resolvePath from './helper/resolve-path.js'
24
23
 
25
24
  shim()
@@ -33,7 +32,7 @@ shim()
33
32
  */
34
33
 
35
34
  async function boot (cwd) {
36
- if (!cwd) cwd = path.dirname(process.argv[1])
35
+ if (!cwd) cwd = process.cwd()
37
36
  const l = last(process.argv)
38
37
  if (l.startsWith('--cwd')) {
39
38
  const parts = l.split('=')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "A framework to build a giant monstrous app rapidly",
5
5
  "main": "boot/index.js",
6
6
  "scripts": {