Skip to content

Commit f02d545

Browse files
committed
Exception analysis.
1 parent 8a237eb commit f02d545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

res_syntax/src/res_multi_printer.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ let getUncurriedAlwaysFromBsconfig ~filename =
2929
| None ->
3030
(* The editor calls format on a temporary file. So bsconfig can't be found.
3131
This looks outside the node_modules containing the bsc binary *)
32-
let dir = Filename.dirname Sys.argv.(0) in
32+
let dir = (Filename.dirname Sys.argv.(0) [@doesNotRaise]) in
3333
findFromNodeModules ~dir
3434
| x -> x
3535
in

0 commit comments

Comments
 (0)