mirror of
https://github.com/S2-/gitlit
synced 2025-08-04 13:10:09 +02:00
update dependencies
This commit is contained in:
5
node_modules/asar/lib/filesystem.js
generated
vendored
5
node_modules/asar/lib/filesystem.js
generated
vendored
@@ -104,7 +104,7 @@ class Filesystem {
|
||||
return link
|
||||
}
|
||||
|
||||
listFiles () {
|
||||
listFiles (options) {
|
||||
const files = []
|
||||
const fillFilesFromHeader = function (p, json) {
|
||||
if (!json.files) {
|
||||
@@ -114,7 +114,8 @@ class Filesystem {
|
||||
const result = []
|
||||
for (const f in json.files) {
|
||||
const fullPath = path.join(p, f)
|
||||
files.push(fullPath)
|
||||
const packState = json.files[f].unpacked === true ? 'unpack' : 'pack '
|
||||
files.push((options && options.isPack) ? `${packState} : ${fullPath}` : fullPath)
|
||||
result.push(fillFilesFromHeader(fullPath, json.files[f]))
|
||||
}
|
||||
return result
|
||||
|
Reference in New Issue
Block a user