push
This commit is contained in:
@@ -100,7 +100,7 @@ function read_ignore(dir) {
|
||||
arrfor(lines, function(line) {
|
||||
line = trim(line)
|
||||
if (!line || starts_with(line, '#')) return
|
||||
patterns.push(line)
|
||||
push(patterns, line)
|
||||
})
|
||||
}
|
||||
return patterns
|
||||
@@ -120,7 +120,7 @@ Resources.getAllFiles = function(dir = "") {
|
||||
if (!st.filesize) return
|
||||
var ext = getExtension(f)
|
||||
if (!isRecognizedExtension(ext)) return
|
||||
results.push(fullPath)
|
||||
push(results, fullPath)
|
||||
} catch(e) {}
|
||||
})
|
||||
return results
|
||||
|
||||
Reference in New Issue
Block a user