refactor: add prefer-const to .eslintrc + fix errors (#14880)
This commit is contained in:
parent
07161a8452
commit
3ad3ade828
47 changed files with 239 additions and 238 deletions
|
@ -412,7 +412,7 @@ const waitForCrashReport = () => {
|
|||
|
||||
const startServer = ({ callback, processType, done }) => {
|
||||
let called = false
|
||||
let server = http.createServer((req, res) => {
|
||||
const server = http.createServer((req, res) => {
|
||||
const form = new multiparty.Form()
|
||||
form.parse(req, (error, fields) => {
|
||||
if (error) throw error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue