Skip to content

Commit 8436843

Browse files
j178Copilot
andcommitted
Update script.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d79b8d5 commit 8436843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/prek/src/languages/script.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub(crate) struct Script;
2525
/// - It contains newlines (YAML block scalar).
2626
/// - The first token does not resolve to a real file in the repo.
2727
fn is_inline_script(entry: &str, repo_path: &Path) -> bool {
28-
// YAML block scalar chompping style:
28+
// YAML block scalar chomping style:
2929
// | => keep single trailing newline
3030
// |- => remove single trailing newline
3131
// |+ => keep all trailing newlines

0 commit comments

Comments
 (0)