Improve build error when a new grammar was added
This commit is contained in:
parent
5a558e0d8e
commit
905efe3a48
1 changed files with 1 additions and 2 deletions
|
@ -158,10 +158,9 @@ fn build_dir(dir: &str, language: &str) {
|
|||
.is_none()
|
||||
{
|
||||
eprintln!(
|
||||
"The directory {} is empty, did you use 'git clone --recursive'?",
|
||||
"The directory {} is empty, you probably need to use 'git submodule update --init --recursive'?",
|
||||
dir
|
||||
);
|
||||
eprintln!("You can fix in using 'git submodule init && git submodule update --recursive'.");
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue