Skip to content

Commit b5add4f

Browse files
committed
Change order of loading folders for node port.
1 parent dab3a1a commit b5add4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/ports/node_port/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ const addon = (() => {
88
const LIBRARY_PATH = process.env.LOADER_LIBRARY_PATH || '';
99

1010
const paths = [
11-
LIBRARY_PATH,
12-
__dirname,
1311
Path.join(__dirname, 'build'),
12+
__dirname,
1413
process.cwd(),
14+
LIBRARY_PATH,
1515
Path.join(LIBRARY_PATH, 'build'),
1616
Path.join(LIBRARY_PATH, 'node_modules', 'metacall'),
1717
Path.join(LIBRARY_PATH, 'node_modules', 'metacall', 'build'),
1818
];
1919

2020
const names = [
21-
'node_port',
2221
'node_portd',
22+
'node_port',
2323
];
2424

2525
/* Set NODE_PATH for finding metacall lib */

0 commit comments

Comments
 (0)