fix: fs proxy info action (#3225)

This commit is contained in:
Erez Rokah
2020-02-10 20:06:43 +02:00
committed by GitHub
parent a015d1d92a
commit 4522739231

View File

@ -25,7 +25,7 @@ export const localFsMiddleware = ({ repoPath }: Options) => {
const { body } = req;
switch (body.action) {
case 'action': {
case 'info': {
res.json({
repo: path.basename(repoPath),
// eslint-disable-next-line @typescript-eslint/camelcase