fix(proxy-server): fix entriesByFiles implementation (#3161)

This commit is contained in:
Erez Rokah 2020-01-28 14:07:27 -08:00 committed by GitHub
parent a215cfbe3a
commit 22df7f7ae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,7 +309,7 @@ export const localGitMiddleware = ({ repoPath }: Options) => {
const entries = await runOnBranch(git, branch, () =>
entriesFromFiles(
repoPath,
payload.files.map(file => path.join(repoPath, file.path)),
payload.files.map(file => file.path),
),
);
res.json(entries);