Skip to content

Commit d437a4a

Browse files
authored
Merge pull request #397 from expressjs/standard-upgrade
Upgrade to Standard 8
2 parents eef0911 + 77f96f3 commit d437a4a

File tree

6 files changed

+1
-15
lines changed

6 files changed

+1
-15
lines changed

lib/make-middleware.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ function makeMiddleware (setup) {
159159
pendingWrites.decrement()
160160
indicateDone()
161161
})
162-
163162
})
164-
165163
})
166164

167165
busboy.on('error', function (err) { abortWithError(err) })

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"fs-temp": "^0.1.2",
3535
"mocha": "^2.2.5",
3636
"rimraf": "^2.4.1",
37-
"standard": "^4.5.4",
37+
"standard": "^8.2.0",
3838
"testdata-w3c-json-form": "^0.2.0"
3939
},
4040
"engines": {

test/disk-storage.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ describe('Disk Storage', function () {
4646

4747
done()
4848
})
49-
5049
})
5150

5251
it('should process empty fields and an empty file', function (done) {
@@ -82,7 +81,6 @@ describe('Disk Storage', function () {
8281

8382
done()
8483
})
85-
8684
})
8785

8886
it('should process multiple files', function (done) {
@@ -147,7 +145,6 @@ describe('Disk Storage', function () {
147145

148146
done()
149147
})
150-
151148
})
152149

153150
it('should remove uploaded files on error', function (done) {
@@ -167,7 +164,6 @@ describe('Disk Storage', function () {
167164

168165
done()
169166
})
170-
171167
})
172168

173169
it('should report error when directory doesn\'t exist', function (done) {

test/functionality.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,4 @@ describe('Functionality', function () {
134134
done()
135135
})
136136
})
137-
138137
})

test/memory-storage.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ describe('Memory Storage', function () {
3333

3434
done()
3535
})
36-
3736
})
3837

3938
it('should process empty fields and an empty file', function (done) {
@@ -69,7 +68,6 @@ describe('Memory Storage', function () {
6968

7069
done()
7170
})
72-
7371
})
7472

7573
it('should process multiple files', function (done) {
@@ -134,7 +132,5 @@ describe('Memory Storage', function () {
134132

135133
done()
136134
})
137-
138135
})
139-
140136
})

test/select-field.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ describe('Select Field', function () {
6262

6363
done()
6464
})
65-
6665
})
6766

6867
it('should select all files with fieldname', function (done) {
@@ -75,7 +74,5 @@ describe('Select Field', function () {
7574

7675
done()
7776
})
78-
7977
})
80-
8178
})

0 commit comments

Comments
 (0)