We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d79b8d5 commit 8436843Copy full SHA for 8436843
crates/prek/src/languages/script.rs
@@ -25,7 +25,7 @@ pub(crate) struct Script;
25
/// - It contains newlines (YAML block scalar).
26
/// - The first token does not resolve to a real file in the repo.
27
fn is_inline_script(entry: &str, repo_path: &Path) -> bool {
28
- // YAML block scalar chompping style:
+ // YAML block scalar chomping style:
29
// | => keep single trailing newline
30
// |- => remove single trailing newline
31
// |+ => keep all trailing newlines
0 commit comments