fix(proxy-server): add missing labels to file collections (#3250)
This commit is contained in:
parent
151fa90da4
commit
8d67de0e68
@ -22,7 +22,7 @@ export const entriesFromFiles = async (
|
|||||||
const content = await fs.readFile(path.join(repoPath, file.path));
|
const content = await fs.readFile(path.join(repoPath, file.path));
|
||||||
return {
|
return {
|
||||||
data: content.toString(),
|
data: content.toString(),
|
||||||
file: { path: normalizePath(file.path), id: sha256(content) },
|
file: { path: normalizePath(file.path), label: file.label, id: sha256(content) },
|
||||||
};
|
};
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user