Skip to content

Commit 57a9b3b

Browse files
Add attribution to ComponentizeJS for maybeWindowsPath
Co-authored-by: Till Schneidereit <[email protected]>
1 parent 8ddd25f commit 57a9b3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/build-tools/src/wasiDepsParser.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { resolve } from 'node:path';
55
import { platform } from 'node:process';
66
const isWindows = platform === 'win32';
77

8+
// Copied from https://github.com/bytecodealliance/ComponentizeJS/blob/e5bb0da0c1ce1ee87eed45c970121ed5fe8cca3a/src/componentize.js#L26-L39
89
function maybeWindowsPath(path: string): string {
910
if (!path) return path;
1011
const resolvedPath = resolve(path);

0 commit comments

Comments
 (0)