Skip to content

Commit

Permalink
Update prettier to version 1.19.1 (#304)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
RyanZim and greenkeeper[bot] committed Dec 31, 2019
1 parent 0d3591a commit e666505
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"eslint-config-problems": "2.0.0",
"nyc": "^14.0.0",
"postcss-import": "^12.0.0",
"prettier": "~1.18.0",
"prettier": "~1.19.1",
"sugarss": "^2.0.0",
"uuid": "^3.0.1"
},
Expand Down
21 changes: 12 additions & 9 deletions test/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ testCb('--watch works', t => {

// Helper functions:
function isEqual(p, expected) {
return Promise.all([read(path.join(dir, p)), read(expected)]).then(
([a, e]) => t.is(a, e)
)
return Promise.all([
read(path.join(dir, p)),
read(expected)
]).then(([a, e]) => t.is(a, e))
}

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

// Helper functions:
function isEqual(p, expected) {
return Promise.all([read(path.join(dir, p)), read(expected)]).then(
([a, e]) => t.is(a, e)
)
return Promise.all([
read(path.join(dir, p)),
read(expected)
]).then(([a, e]) => t.is(a, e))
}

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

// Helper functions:
function isEqual(p, expected) {
return Promise.all([read(path.join(dir, p)), read(expected)]).then(
([a, e]) => t.is(a, e)
)
return Promise.all([
read(path.join(dir, p)),
read(expected)
]).then(([a, e]) => t.is(a, e))
}

function done(err) {
Expand Down

0 comments on commit e666505

Please sign in to comment.