Skip to content

Commit

Permalink
Fix //internal/npm_package/test:test
Browse files Browse the repository at this point in the history
Change the file npm_package.spec.js was locating,
from "test.sh" to just "test".
  • Loading branch information
laszlocsomor authored and Keen Yee Liau committed Apr 18, 2019
1 parent 76609c7 commit b4d4bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/npm_package/test/npm_package.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function read(p) {
// So instead we lookup the sibling file (the primary output of the test rule)
// and bootstrap the filesystem lookup from there.
const dir =
path.dirname(require.resolve('build_bazel_rules_nodejs/internal/npm_package/test/test.sh'));
path.dirname(require.resolve('build_bazel_rules_nodejs/internal/npm_package/test/test'));
return fs.readFileSync(path.join(dir, 'test_pkg', p), {encoding: 'utf-8'}).trim();
}

Expand Down

0 comments on commit b4d4bbf

Please # to comment.