We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 048cf21 commit bf6253cCopy full SHA for bf6253c
1 file changed
modules/DependencyControl/FileOps.moon
@@ -282,7 +282,7 @@ class FileOps
282
if #path > pathMatch.maxLen
283
return false, msgs.validateFullPath.tooLong\format #path, maxLen
284
-- check for invalid characters
285
- invChar = path\match pathMatch.invalidChars, ffi.os == "Windows" and 3
+ invChar = path\match pathMatch.invalidChars, ffi.os == "Windows" and 3 or nil
286
if invChar
287
return false, msgs.validateFullPath.invalidChars\format invChar
288
-- check for reserved file names
0 commit comments