Skip to main content

validate_shell_sources

Function validate_shell_sources 

Source
pub fn validate_shell_sources(
    fs: &dyn Fs,
    paths: &dyn Pather,
    checker: &dyn SyntaxChecker,
) -> Result<ShellValidationReport>
Expand description

Iterate every deployed shell source, run a syntax check, and update the per-file sidecar files. Idempotent across runs: a previously failing file that’s been fixed gets its sidecar removed.