Skip to content

Commit

Permalink
Fix diff command when running in nested directory
Browse files Browse the repository at this point in the history
  • Loading branch information
vkammerer committed Nov 10, 2022
1 parent 24b5b5d commit b84d0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/impl.dart
Expand Up @@ -59,7 +59,7 @@ void expectResultOutputSucceeds(String result) {
}

Future<String> _changedGeneratedFiles(String workingDir) =>
_runProc('git', ['diff'], workingDir);
_runProc('git', ['diff', '.'], workingDir);

Future<String> _runProc(
String proc,
Expand Down

0 comments on commit b84d0b7

Please sign in to comment.