Skip to content

Commit

Permalink
Seeing if a exception is returned
Browse files Browse the repository at this point in the history
  • Loading branch information
DrRetro2033 committed Sep 2, 2024
1 parent 589ac38 commit e76e37a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class ReadPatternCommand extends Command {

@override
dynamic run() {
return jsonEncode(FilePattern(argResults?["pattern"])
.read(File(argResults?["file"]).readAsBytesSync()));
return FilePattern(argResults?["pattern"])
.read(File(argResults?["file"]).readAsBytesSync());
}
}

0 comments on commit e76e37a

Please sign in to comment.