mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
windows fix
This commit is contained in:
@@ -1475,7 +1475,7 @@ pub fn main() !void {
|
||||
`;
|
||||
zigEnumCode.level = 3;
|
||||
for (const zigEnum of zigEnums.values()) {
|
||||
const candidates = allZigFiles.filter(file => file.endsWith("/" + zigEnum.file));
|
||||
const candidates = allZigFiles.filter(file => file.endsWith(path.sep + zigEnum.file));
|
||||
if (candidates.length === 0) {
|
||||
throwAt(`Cannot find a file named ${str(zigEnum.file)}`, zigEnum.snapshot);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user