Unverified Commit 371dd87a authored by Pierre-Louis's avatar Pierre-Louis Committed by GitHub

Make it possible to run in google3 (#76392)

parent 1b871036
...@@ -174,12 +174,12 @@ void main(List<String> args) { ...@@ -174,12 +174,12 @@ void main(List<String> args) {
stderr.writeln('Error: Icons file not found: ${iconClassFile.path}'); stderr.writeln('Error: Icons file not found: ${iconClassFile.path}');
exit(1); 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()) { if (!newCodepointsFile.existsSync()) {
stderr.writeln('Error: New codepoints file not found: ${newCodepointsFile.path}'); stderr.writeln('Error: New codepoints file not found: ${newCodepointsFile.path}');
exit(1); exit(1);
} }
final File oldCodepointsFile = File(path.absolute(argResults[_oldCodepointsPathOption] as String)); final File oldCodepointsFile = File(argResults[_oldCodepointsPathOption] as String);
if (!oldCodepointsFile.existsSync()) { if (!oldCodepointsFile.existsSync()) {
stderr.writeln('Error: Old codepoints file not found: ${oldCodepointsFile.path}'); stderr.writeln('Error: Old codepoints file not found: ${oldCodepointsFile.path}');
exit(1); exit(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment