Skip to content

Commit

Permalink
Merge pull request #47 from Fueled/fix-formatiing-command
Browse files Browse the repository at this point in the history
  • Loading branch information
BhavyaRattan authored Jun 21, 2023
2 parents fe93d84 + f58c5bd commit 58e7d51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class FormattingChecksFlutterAction < Action
def self.run(params)
UI.message("Checking formatting")
sh("flutter pub get")
filesToFormat = "find lib test integration_test -name \"*.dart\" -not \( -name \"*.*freezed.dart\" -o -name \"*.g.dart\" -o -name \"*.gen.dart\" -o -name \"*.mocks.dart\" \)"
filesToFormat = "find lib test integration_test -name \"*.dart\" -not \\( -name \"*.*freezed.dart\" -o -name \"*.g.dart\" -o -name \"*.gen.dart\" -o -name \"*.mocks.dart\" \\)"
sh("dart format $(#{filesToFormat}) -o none --set-exit-if-changed")
end

Expand Down

0 comments on commit 58e7d51

Please sign in to comment.