Make it possible to run in google3 (#76392)

This commit is contained in:
Pierre-Louis
2021-02-20 13:11:58 +01:00
committed by GitHub
parent 1b871036f9
commit 371dd87aa0

View File

@@ -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);