1
0
mirror of https://github.com/jht5945/buildj.git synced 2025-12-29 18:30:05 +08:00
This commit is contained in:
2020-05-02 14:51:59 +08:00
parent 0667b3d481
commit dc116799e0
5 changed files with 25 additions and 11 deletions

View File

@@ -34,7 +34,7 @@ pub fn get_args_as_vec() -> Vec<String> {
pub fn is_buildin_args(args: &[String]) -> bool {
match args.get(1) {
None => return false,
None => false,
Some(arg) => arg.starts_with(":::") || arg.starts_with("..."),
}
}