Skip to content

Commit f20fbb1

Browse files
committed
add debug logs
1 parent 050df2a commit f20fbb1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

rewatch/src/helpers.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,11 @@ pub fn get_rescript_legacy(root_path: &Path, workspace_root: Option<PathBuf>) ->
225225
let bin_dir = get_bin_dir();
226226

227227
match (
228-
root_path
229-
.join(&bin_dir)
230-
.join("rescript.exe")
228+
dbg!(root_path.join(&bin_dir).join("rescript.exe"))
231229
.canonicalize()
232230
.map(StrippedVerbatimPath::to_stripped_verbatim_path),
233231
workspace_root.map(|workspace_root| {
234-
workspace_root
235-
.join(&bin_dir)
236-
.join("rescript.exe")
232+
dbg!(workspace_root.join(&bin_dir).join("rescript.exe"))
237233
.canonicalize()
238234
.map(StrippedVerbatimPath::to_stripped_verbatim_path)
239235
}),

0 commit comments

Comments
 (0)