-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix windows next tests in ci #11050
fix windows next tests in ci #11050
Conversation
if (r.debug_logs) |*debug| { | ||
debug.addNoteFmt("The import \"{s}\" is being treated as an absolute path", .{import_path}); | ||
debug.addNoteFmt("The import \"{s}\" is being treated as an absolute path", .{abs_import_path}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should print the user-provided path. though, we dont really show this anywhere. (i could never get the debug messages to work)
pub fn ensureLongPath(buf: anytype, res: [:0]const u8) [:0]u8 { | ||
assert(buf.ptr == res.ptr); | ||
if (bun.Environment.isWindows) { | ||
const long_path_len = bun.windows.GetLongPathNameA( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's only do this if the file path contains ~{0-9}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And we should never use the A
version of functions
What does this PR do?
testing using
GetLongPathName
in our resolverHow did you verify your code works?