Skip to content

Commit

Permalink
fix: expose cli
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Jun 25, 2021
1 parent 5d8cd62 commit f70872c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"dist-cjs",
"dist-esm"
],
"bin": {
"bema": "dist-cjs/cli",
"b": "dist-cjs/cli"
},
"exports": {
".": {
"require": "./dist-cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async function mergeGroupResultsForAllNestedDirectories(dir: string) {
}

const dirBase = Path.dirname(dir)
const pattern = Path.join(dir, `*.json`)
const pattern = Path.posix.join(dir, `*.json`) // fast-glob pattern prefers unix paths
const outPath = Path.join(dir, 'report.json')

// console.log(`Using as base directory: ${dirBase}`)
Expand Down

0 comments on commit f70872c

Please sign in to comment.