rm push/pop
This commit is contained in:
@@ -94,7 +94,7 @@ function read_ignore(dir) {
|
||||
arrfor(lines, function(line) {
|
||||
var trimmed = trim(line)
|
||||
if (!trimmed || starts_with(trimmed, '#')) return
|
||||
push(patterns, trimmed)
|
||||
patterns[] = trimmed
|
||||
})
|
||||
}
|
||||
return patterns
|
||||
@@ -115,7 +115,7 @@ Resources.getAllFiles = function(dir) {
|
||||
if (!st.filesize) return
|
||||
var ext = getExtension(f)
|
||||
if (!isRecognizedExtension(ext)) return
|
||||
push(results, fullPath)
|
||||
results[] = fullPath
|
||||
} disruption {
|
||||
// skip files that can't be stat'd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user