mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
shellcheck
This commit is contained in:
parent
4e0346dcc1
commit
2526293171
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ git -C "$repo" add "$repo/foo"
|
|||
|
||||
expectStderr 1 nix eval "$repo#b" | grepQuiet "error: path '/dir' does not exist in Git repository \"$repo\""
|
||||
|
||||
mkdir -p $repo/dir
|
||||
echo 456 > $repo/dir/default.nix
|
||||
mkdir -p "$repo/dir"
|
||||
echo 456 > "$repo/dir/default.nix"
|
||||
|
||||
expectStderr 1 nix eval "$repo#b" | grepQuiet "error: File 'dir' in the repository \"$repo\" is not tracked by Git."
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue