Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit d234a48

Browse files
author
Simon Hofmann
committed
Updated path resolving for bundling
1 parent 221c45b commit d234a48

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/bundle.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
const { opencvLibDir } = require("./dirs");
2-
const { readdirSync, realpathSync } = require("fs");
2+
const { readdirSync } = require("fs");
3+
const { resolvePath } = require('./commons');
34
const { join } = require("path");
45

56
for (const file of readdirSync(opencvLibDir)) {
6-
console.log(join(realpathSync(opencvLibDir), file));
7+
console.log(resolvePath(join(opencvLibDir, file)));
78
}

0 commit comments

Comments
 (0)