From 371dd87aa078467913db65a9d83b2915b34886ac Mon Sep 17 00:00:00 2001 From: Pierre-Louis <6655696+guidezpl@users.noreply.github.com> Date: Sat, 20 Feb 2021 13:11:58 +0100 Subject: [PATCH] Make it possible to run in google3 (#76392) --- dev/tools/update_icons.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/tools/update_icons.dart b/dev/tools/update_icons.dart index 492f5e285d..76fdec61d8 100644 --- a/dev/tools/update_icons.dart +++ b/dev/tools/update_icons.dart @@ -174,12 +174,12 @@ void main(List 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);