Skip to content

Commit 3eed8d4

Browse files
committed
refactor(runfiles): do not export private BAZEL_OUT_REGEX
1 parent 21b56da commit 3eed8d4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/runfiles/index.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
import {BAZEL_OUT_REGEX} from './paths';
2-
import {Runfiles} from './runfiles';
1+
import { Runfiles } from "./runfiles";
32

43
// Re-export the `Runfiles` class. This class if the runfile helpers need to be
54
// mocked for testing purposes. This is used by the linker but also publicly exposed.
6-
export {Runfiles};
7-
// Re-export a RegExp for matching `bazel-out` paths. This is used by the linker
8-
// but not intended for public use.
9-
export {BAZEL_OUT_REGEX as _BAZEL_OUT_REGEX};
5+
export { Runfiles };
106

117
/** Instance of the runfile helpers. */
128
export const runfiles = new Runfiles(process.env);

0 commit comments

Comments
 (0)