Fix `git cl format` for metrics XML files on Windows
* Call `os.path.normpath()` prior to comparing file paths * Run Python files with `vpython` * Pass `shell=True` for Windows commands, so that the PATH variable is defined: https://stackoverflow.com/a/32799942 * While here, clean up similar call sites to drop an unnecessary cast. Fixed: 1081763 Change-Id: I8096b3ad14a4675036a579fab537af1d94f12725 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2203422 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org> Auto-Submit: Ilya Sherman <isherman@chromium.org>
Showing
Please
register
or
sign in
to comment