Skip to content

Commit 0251cff

Browse files
committed
Rename back
1 parent 439631c commit 0251cff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rewatch/src/helpers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub fn create_path_for_path(path: &Path) {
180180
fs::DirBuilder::new().recursive(true).create(path).unwrap();
181181
}
182182

183-
pub fn get_rescript_bin_dir() -> PathBuf {
183+
pub fn get_bin_dir() -> PathBuf {
184184
let current_exe_path = std::env::current_exe().expect("Could not get current executable path");
185185
current_exe_path
186186
.parent()
@@ -191,7 +191,7 @@ pub fn get_rescript_bin_dir() -> PathBuf {
191191
pub fn get_bsc() -> PathBuf {
192192
match std::env::var("RESCRIPT_BSC_EXE") {
193193
Ok(val) => PathBuf::from(val),
194-
Err(_) => get_rescript_bin_dir().join("bsc.exe"),
194+
Err(_) => get_bin_dir().join("bsc.exe"),
195195
}
196196
}
197197

0 commit comments

Comments
 (0)