Skip to content

Commit

Permalink
fix: finding babel config files with @babel/eslint-parser (#207)
Browse files Browse the repository at this point in the history
Fixes: #100
  • Loading branch information
feross authored May 18, 2021
1 parent 8c2f748 commit d3f6be6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -985,17 +985,15 @@ function validate (
}
],
function (err: any, _results: any) {
if (cwd !== process.cwd()) {
process.chdir(cwd)
}
if (err != null) {
return console.log(err)
}
}
)
} catch {
} finally {
if (cwd !== process.cwd()) {
process.chdir(cwd)
}
}
} catch {}
}

let noConfigReported: Map<string, StandardModule | undefined> = new Map<
Expand Down

0 comments on commit d3f6be6

Please sign in to comment.