mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-21 07:01:16 +02:00
fix: hot fix, replace repoID by repoId
This commit is contained in:
1 parent
a9fefcc970
commit
b0fa5e6689
5 files changed
+7
-9
No files matched your search
@@ -152,9 +152,7 @@ export default class FileSystem extends StorageBase {
|
||||
try {
|
||||
const stats = await fs.promises.stat(filePath);
|
||||
if (stats.isDirectory()) {
|
||||
output2.push(
|
||||
new FileModel({ name: file, path: dir, repoID: repoId })
|
||||
);
|
||||
output2.push(new FileModel({ name: file, path: dir, repoId }));
|
||||
output2.push(
|
||||
...(await this.listFiles(repoId, join(dir, file), opt))
|
||||
);
|
||||
@@ -169,7 +167,7 @@ export default class FileSystem extends StorageBase {
|
||||
new FileModel({
|
||||
name: file,
|
||||
path: dir,
|
||||
repoID: repoId,
|
||||
repoId: repoId,
|
||||
size: stats.size,
|
||||
sha: stats.ino.toString(),
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user