From 40ee35ea31d6676e66ae8c0696606f8a204b060b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Joahny?= Date: Fri, 6 Jul 2018 17:49:07 +0200 Subject: [PATCH] Windows : the disk letter can be in lower case --- lib/wraith/helpers/utilities.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wraith/helpers/utilities.rb b/lib/wraith/helpers/utilities.rb index 3b851d1a..7018941d 100644 --- a/lib/wraith/helpers/utilities.rb +++ b/lib/wraith/helpers/utilities.rb @@ -19,7 +19,7 @@ def convert_to_absolute(filepath) elsif filepath[0] == "/" # filepath is already absolute. return unchanged filepath - elsif filepath.match(/^[A-Z]:\/(.+)$/) + elsif filepath.match(/^[A-Za-z]:\/(.+)$/) # filepath is an absolute Windows path, e.g. C:/Code/Wraith/javascript/global.js. return unchanged filepath else