localfilesystem tests failing on Windows

This commit is contained in:
drwoods 2015-04-16 14:46:22 -04:00 committed by drwoods
parent 87f8fd34b8
commit 9ad1f769d3
1 changed files with 2 additions and 2 deletions

View File

@ -138,8 +138,8 @@ var localfilesystem = {
if (settings.flowFile) {
flowsFile = settings.flowFile;
if (flowsFile[0] == "/") {
// handle Unix and Windows "C:\"
if ((flowsFile[0] == "/") || (flowsFile[1] == ":")) {
// Absolute path
flowsFullPath = flowsFile;
} else if (flowsFile.substring(0,2) === "./") {