Skip to content

Commit 60933f7

Browse files
committed
Look jn rescript before bs-platform.
1 parent 6d8dd3b commit 60933f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

analysis/src/BuildSystem.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ open Infix
77

88
let getBsPlatformDir rootPath =
99
let result =
10-
ModuleResolution.resolveNodeModulePath ~startPath:rootPath "bs-platform"
10+
ModuleResolution.resolveNodeModulePath ~startPath:rootPath "rescript"
1111
in
1212
let result =
1313
if result = None then
14-
ModuleResolution.resolveNodeModulePath ~startPath:rootPath "rescript"
14+
ModuleResolution.resolveNodeModulePath ~startPath:rootPath "bs-platform"
1515
else result
1616
in
1717
match result with

0 commit comments

Comments
 (0)