Skip to content

Commit bc76f8c

Browse files
mmahroussfda-odoo
authored andcommitted
[IMP] update additional stub default path
1 parent 3f71114 commit bc76f8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/core/odoo.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,11 @@ impl SyncOdoo {
178178
} else {
179179
result.push(env::current_dir().unwrap().join("typeshed").join("stubs").sanitize());
180180
}
181-
let next_to_exe = env::current_exe().unwrap().parent().unwrap().join("typeshed").join("additional_stubs");
181+
let next_to_exe = env::current_exe().unwrap().parent().unwrap().join("additional_stubs");
182182
if next_to_exe.exists() {
183183
result.push(next_to_exe.sanitize());
184184
} else {
185-
result.push(env::current_dir().unwrap().join("typeshed").join("additional_stubs").sanitize());
185+
result.push(env::current_dir().unwrap().join("additional_stubs").sanitize());
186186
}
187187
result
188188
}

0 commit comments

Comments
 (0)