Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
airportyh committed Jun 25, 2024
1 parent 95973e0 commit 898d10a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/modules/go/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ let
$out/bin/run-gofmt -f main.go > output.go
printf 'package main\n\nfunc main() {\n\tfmt.Println("hello world")\n}\n'> expected.go
if ! diff expected.go output.go; then
echo "format output doesn't match expectation:"
echo "format output doesn't match expectation"
exit 1
fi
'';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/modules/nodejs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ let
$out/bin/run-prettier -f index.ts > output.ts
printf 'function foo() {\n\treturn 10;\n}\n'> expected.ts
if ! diff expected.ts output.ts; then
echo "format output doesn't match expectation:"
echo "format output doesn't match expectation"
exit 1
fi
'';
Expand Down

0 comments on commit 898d10a

Please sign in to comment.