mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:26:23 -04:00
fix: skip missing Makefile in version command
This commit is contained in:
parent
0561079b6e
commit
146ea6e12b
|
|
@ -292,6 +292,9 @@ impl Version {
|
|||
} else {
|
||||
self.current_dir.join("Makefile")
|
||||
};
|
||||
if !makefile_path.exists() {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
Self::update_file_with(&makefile_path, |content| {
|
||||
content
|
||||
|
|
|
|||
Loading…
Reference in a new issue