mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 15:59:20 +03:00
Fix env var typo
This commit is contained in:
parent
bb02104436
commit
04e8e26faf
@ -4,6 +4,8 @@ use std::path::{Path, PathBuf};
|
||||
use bumpalo::Bump;
|
||||
use roc_module::symbol::ModuleId;
|
||||
|
||||
const ROC_SKIP_SUBS_CACHE: &str = "ROC_SKIP_SUBS_CACHE";
|
||||
|
||||
const SKIP_SUBS_CACHE: bool = {
|
||||
match option_env!("ROC_SKIP_SUBS_CACHE") {
|
||||
Some(s) => s.len() == 1 && s.as_bytes()[0] == b'1',
|
||||
@ -97,7 +99,7 @@ fn write_types_for_module_real(module_id: ModuleId, filename: &str, output_path:
|
||||
};
|
||||
|
||||
if module.total_problems() > 0 {
|
||||
panic!("Problems were found! Refusing to build cached subs.\nTry building with ROC_SKIP_SUBS_CACHE=1 to see them.");
|
||||
panic!("Problems were found! Refusing to build cached subs.\nTry building with {}=1 to see them.", ROC_SKIP_SUBS_CACHE);
|
||||
}
|
||||
|
||||
let subs = module.solved.into_inner();
|
||||
|
Loading…
Reference in New Issue
Block a user