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