Skip to content

Commit

Permalink
Make it possible to run in google3 (flutter#76392)
Browse files Browse the repository at this point in the history
  • Loading branch information
guidezpl authored Feb 20, 2021
1 parent 1b87103 commit 371dd87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/tools/update_icons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,12 @@ void main(List<String> args) {
stderr.writeln('Error: Icons file not found: ${iconClassFile.path}');
exit(1);
}
final File newCodepointsFile = File(path.absolute(path.normalize(argResults[_newCodepointsPathOption] as String)));
final File newCodepointsFile = File(argResults[_newCodepointsPathOption] as String);
if (!newCodepointsFile.existsSync()) {
stderr.writeln('Error: New codepoints file not found: ${newCodepointsFile.path}');
exit(1);
}
final File oldCodepointsFile = File(path.absolute(argResults[_oldCodepointsPathOption] as String));
final File oldCodepointsFile = File(argResults[_oldCodepointsPathOption] as String);
if (!oldCodepointsFile.existsSync()) {
stderr.writeln('Error: Old codepoints file not found: ${oldCodepointsFile.path}');
exit(1);
Expand Down

0 comments on commit 371dd87

Please sign in to comment.