We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 439631c commit 0251cffCopy full SHA for 0251cff
rewatch/src/helpers.rs
@@ -180,7 +180,7 @@ pub fn create_path_for_path(path: &Path) {
180
fs::DirBuilder::new().recursive(true).create(path).unwrap();
181
}
182
183
-pub fn get_rescript_bin_dir() -> PathBuf {
+pub fn get_bin_dir() -> PathBuf {
184
let current_exe_path = std::env::current_exe().expect("Could not get current executable path");
185
current_exe_path
186
.parent()
@@ -191,7 +191,7 @@ pub fn get_rescript_bin_dir() -> PathBuf {
191
pub fn get_bsc() -> PathBuf {
192
match std::env::var("RESCRIPT_BSC_EXE") {
193
Ok(val) => PathBuf::from(val),
194
- Err(_) => get_rescript_bin_dir().join("bsc.exe"),
+ Err(_) => get_bin_dir().join("bsc.exe"),
195
196
197
0 commit comments