fix(proxy-server): fix entriesByFiles implementation (#3161)
This commit is contained in:
parent
a215cfbe3a
commit
22df7f7ae1
@ -309,7 +309,7 @@ export const localGitMiddleware = ({ repoPath }: Options) => {
|
|||||||
const entries = await runOnBranch(git, branch, () =>
|
const entries = await runOnBranch(git, branch, () =>
|
||||||
entriesFromFiles(
|
entriesFromFiles(
|
||||||
repoPath,
|
repoPath,
|
||||||
payload.files.map(file => path.join(repoPath, file.path)),
|
payload.files.map(file => file.path),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
res.json(entries);
|
res.json(entries);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user