diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-03-21 11:46:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-21 15:46:40 +0000 |
commit | 2fcf1f14cf29bb68995f652f93a4f6e3cb55c8d7 (patch) | |
tree | 04fb972934969cb01a52f3b9b8af0a17134ef5b6 /ext/fs/lib.rs | |
parent | 0366d6833f25b786e897ce0d6393f692507f0532 (diff) |
feat: TypeScript 5.0.2 (except decorators) (#18294)
This upgrades TypeScript to 5.0.2, but does not have ES decorator
support because swc does not support that yet.
Diffstat (limited to 'ext/fs/lib.rs')
-rw-r--r-- | ext/fs/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/fs/lib.rs b/ext/fs/lib.rs index 3bad65330..9c889d9b2 100644 --- a/ext/fs/lib.rs +++ b/ext/fs/lib.rs @@ -1339,6 +1339,7 @@ fn do_stat(path: PathBuf, lstat: bool) -> Result<FsStat, AnyError> { } else { (path.canonicalize()?, FILE_FLAG_BACKUP_SEMANTICS) }; + // SAFETY: winapi calls unsafe { let mut path: Vec<_> = p.as_os_str().encode_wide().collect(); path.push(0); |