Remove external name exceptions (#5115)

This commit is contained in:
JT
2022-04-07 14:01:31 +12:00
committed by GitHub
parent 591fb4bd36
commit ef1934a7ee
6 changed files with 45 additions and 147 deletions

View File

@ -178,9 +178,6 @@ pub struct EngineState {
pub env_vars: im::HashMap<String, Value>,
#[cfg(feature = "plugin")]
pub plugin_signatures: Option<PathBuf>,
// A list of external commands that look like math expressions
pub external_exceptions: Vec<Vec<u8>>,
}
pub const NU_VARIABLE_ID: usize = 0;
@ -210,7 +207,6 @@ impl EngineState {
env_vars: im::HashMap::new(),
#[cfg(feature = "plugin")]
plugin_signatures: None,
external_exceptions: vec![],
}
}