mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 22:57:46 +00:00
apply fdncred's advice
See [explanation](https://github.com/nushell/nu_scripts/pull/39#issuecomment-814244862).
This commit is contained in:
parent
28fb24315a
commit
266d2051f4
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ def ls-incorrect-dirs [] {
|
|||
}
|
||||
let incorrect_count = $(ls-incorrect-dirs | length);
|
||||
if $incorrect_count > 0 {
|
||||
echo 'The following directories are named incorrectly:'
|
||||
echo `The following directories are named incorrectly: {{$(char newline)}}`
|
||||
ls-incorrect-dirs
|
||||
exit 1
|
||||
} {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue