File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,16 @@ function! rescript#UpdateProjectEnv()
38
38
else
39
39
" Here we are handling a project that is based on the rescript npm package
40
40
" This package only uses a rescript.exe, no bsc, nor bsb
41
- let g: rescript_exe = getcwd () . " / " . l: res_bin_dir . " /rescript.exe"
41
+ let g: rescript_exe = l: res_bin_dir . " /rescript.exe"
42
42
endif
43
43
44
44
" These variables are only used in legacy mode (bs-platform based projects)
45
- let g: rescript_bsc_exe = getcwd () . " / " . l: res_bin_dir . " /bsc.exe"
46
- let g: rescript_bsb_exe = getcwd () . " / " . l: res_bin_dir . " /bsb.exe"
45
+ let g: rescript_bsc_exe = l: res_bin_dir . " /bsc.exe"
46
+ let g: rescript_bsb_exe = l: res_bin_dir . " /bsb.exe"
47
47
48
48
" Note that this doesn't find bsconfig when the editor was started without a
49
49
" specific file within the project
50
- let g: rescript_project_config = getcwd () . " / " . findfile (" bsconfig.json" , " .;" )
50
+ let g: rescript_project_config = findfile (" bsconfig.json" , " .;" )
51
51
52
52
" Try to find the nearest .git folder instead
53
53
if g: rescript_project_config == " "
You can’t perform that action at this time.
0 commit comments