Loosen src_is_git to just check exists()
This commit is contained in:
parent
e9cfc300a3
commit
4d32ff4e49
@ -234,7 +234,7 @@ impl Build {
|
|||||||
};
|
};
|
||||||
let rust_info = channel::GitInfo::new(&src);
|
let rust_info = channel::GitInfo::new(&src);
|
||||||
let cargo_info = channel::GitInfo::new(&src.join("cargo"));
|
let cargo_info = channel::GitInfo::new(&src.join("cargo"));
|
||||||
let src_is_git = src.join(".git").is_dir();
|
let src_is_git = src.join(".git").exists();
|
||||||
|
|
||||||
Build {
|
Build {
|
||||||
flags: flags,
|
flags: flags,
|
||||||
|
Loading…
Reference in New Issue
Block a user