Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 165d20d

Browse files
committed
Formatting
1 parent a277742 commit 165d20d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/middlewares/localGit/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ export function localGitMiddleware({ repoPath, logger }: GitOptions) {
165165
const mediaFiles = await runOnBranch(git, branch, async () => {
166166
const files = await listRepoFiles(repoPath, mediaFolder, "", 1);
167167
return files.map((file) => ({
168-
path: file.replace(/\\/g, '/'),
169-
url: path.join(repoPath, file).replace(/\\/g, '/'),
168+
path: file.replace(/\\/g, "/"),
169+
url: path.join(repoPath, file).replace(/\\/g, "/"),
170170
}));
171171
});
172172
res.json(mediaFiles);

0 commit comments

Comments
 (0)