Skip to content

Commit 7263eff

Browse files
committed
[WiP] Try to fix Windows CI (2)
1 parent 4e6a568 commit 7263eff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/libwasmfs_node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
addToLibrary({
8-
$wasmfsNodeIsWindows: !!process.platform.match(/^win/),
8+
$wasmfsNodeIsWindows: "!!process.platform.match(/^win/)",
99
$nodePath: "require('node:path')",
1010

1111
$wasmfsNodeConvertNodeCode__deps: ['$ERRNO_CODES'],

test/other/test_std_filesystem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ int main() {
1313
std::cout << "remove(): " << fs::remove(tmp / foo) << '\n'; // success
1414
std::cout << "remove(): " << fs::remove(tmp / foo) << '\n'; // fail
1515

16-
std::filesystem::create_directories(tmp / "abcdef/example");
16+
std::filesystem::create_directories(tmp / "abcdef" / "example");
1717
const std::uintmax_t n{fs::remove_all(tmp / "abcdef")};
1818
std::cout << "remove_all(): " << n << " files or directories\n";
1919
}

0 commit comments

Comments
 (0)