diff options
author | 2023-05-06 13:18:38 -0700 | |
---|---|---|
committer | 2023-05-06 13:18:38 -0700 | |
commit | 9c9425bc8cbafdf1c29a2e28e90fa7ae3ec1be01 (patch) | |
tree | ea95d827335a96f3a8f0249eea4b4d7b4f91865f /src | |
parent | 01ce690a0105ac8c9d3c15691e43f7555fc33b53 (diff) | |
download | bun-9c9425bc8cbafdf1c29a2e28e90fa7ae3ec1be01.tar.gz bun-9c9425bc8cbafdf1c29a2e28e90fa7ae3ec1be01.tar.zst bun-9c9425bc8cbafdf1c29a2e28e90fa7ae3ec1be01.zip |
Another .isFile()
Diffstat (limited to 'src')
-rw-r--r-- | src/bundler/bundle_v2.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bundler/bundle_v2.zig b/src/bundler/bundle_v2.zig index 95595e4fb..951f93fcb 100644 --- a/src/bundler/bundle_v2.zig +++ b/src/bundler/bundle_v2.zig @@ -1259,7 +1259,7 @@ pub const BundleV2 = struct { // If it's a file namespace, we should run it through the parser like normal. // The file could be on disk. const source = &this.graph.input_files.items(.source)[load.source_index.get()]; - if (strings.eqlComptime(source.path.namespace, "file")) { + if (source.path.isFile()) { this.graph.pool.pool.schedule(ThreadPoolLib.Batch.from(&load.parse_task.task)); return; } |