Skip to content

Commit d86bf0a

Browse files
committed
fix bug
1 parent 5a78e48 commit d86bf0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/build/clean.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ pub fn cleanup_previous_build(
158158
.get_mut(module_name)
159159
.expect("Could not find module for ast file");
160160

161-
let compile_dirty = compile_assets_state.cmi_modules.get(module_name);
161+
let compile_dirty = compile_assets_state.cmt_modules.get(module_name);
162162
if let Some(compile_dirty) = compile_dirty {
163163
let last_modified = Some(ast_last_modified);
164164

src/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ pub fn get_compiler_asset(
212212
"ast" | "iast" => &packages::Namespace::NoNamespace,
213213
_ => namespace,
214214
};
215-
package.get_build_path()
215+
package.get_ocaml_build_path()
216216
+ "/"
217217
+ &file_path_to_compiler_asset_basename(source_file, namespace)
218218
+ "."

0 commit comments

Comments
 (0)