From 771fedb260989c57f38fee920d1182f0e6bbfa09 Mon Sep 17 00:00:00 2001 From: Ian Cottrell Date: Thu, 18 Jan 2018 11:04:01 -0500 Subject: [PATCH] Fix paths.is_absolute on windows --- lib/paths.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/paths.bzl b/lib/paths.bzl index 925abcc..ed74a60 100644 --- a/lib/paths.bzl +++ b/lib/paths.bzl @@ -65,7 +65,7 @@ def _is_absolute(path): Returns: `True` if `path` is an absolute path. """ - return path.startswith("/") + return path.startswith("/") or (len(path)>2 and path[1] == ":") def _join(path, *others):