Skip to content

Commit e666505

Browse files
Update prettier to version 1.19.1 (#304)
* chore(package): update prettier to version 1.19.1 Closes #293 * Format code Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
1 parent 0d3591a commit e666505

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"eslint-config-problems": "2.0.0",
3939
"nyc": "^14.0.0",
4040
"postcss-import": "^12.0.0",
41-
"prettier": "~1.18.0",
41+
"prettier": "~1.19.1",
4242
"sugarss": "^2.0.0",
4343
"uuid": "^3.0.1"
4444
},

test/watch.js

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,10 @@ testCb('--watch works', t => {
6262

6363
// Helper functions:
6464
function isEqual(p, expected) {
65-
return Promise.all([read(path.join(dir, p)), read(expected)]).then(
66-
([a, e]) => t.is(a, e)
67-
)
65+
return Promise.all([
66+
read(path.join(dir, p)),
67+
read(expected)
68+
]).then(([a, e]) => t.is(a, e))
6869
}
6970

7071
function done(err) {
@@ -142,9 +143,10 @@ testCb('--watch postcss.config.js', t => {
142143

143144
// Helper functions:
144145
function isEqual(p, expected) {
145-
return Promise.all([read(path.join(dir, p)), read(expected)]).then(
146-
([a, e]) => t.is(a, e)
147-
)
146+
return Promise.all([
147+
read(path.join(dir, p)),
148+
read(expected)
149+
]).then(([a, e]) => t.is(a, e))
148150
}
149151

150152
function done(err) {
@@ -212,9 +214,10 @@ testCb('--watch dependencies', t => {
212214

213215
// Helper functions:
214216
function isEqual(p, expected) {
215-
return Promise.all([read(path.join(dir, p)), read(expected)]).then(
216-
([a, e]) => t.is(a, e)
217-
)
217+
return Promise.all([
218+
read(path.join(dir, p)),
219+
read(expected)
220+
]).then(([a, e]) => t.is(a, e))
218221
}
219222

220223
function done(err) {

0 commit comments

Comments
 (0)