Skip to content

Commit ab73f36

Browse files
renovate[bot]renovate-botRyanZim
authored
chore(deps): update dependency prettier to ~2.3.0 (postcss#380)
* chore(deps): update dependency prettier to ~2.3.0 * prettier Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Ryan Zimmerman <opensrc@ryanzim.com>
1 parent 60b476d commit ab73f36

File tree

3 files changed

+12
-17
lines changed

3 files changed

+12
-17
lines changed

lib/args.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ Usage:
9494
},
9595
})
9696
.option('base', {
97-
desc:
98-
'Mirror the directory structure relative to this path in the output directory, for use with --dir',
97+
desc: 'Mirror the directory structure relative to this path in the output directory, for use with --dir',
9998
type: 'string',
10099
implies: 'dir',
101100
})
@@ -105,8 +104,7 @@ Usage:
105104
type: 'boolean',
106105
})
107106
.option('poll', {
108-
desc:
109-
'Use polling for file watching. Can optionally pass polling interval; default 100 ms',
107+
desc: 'Use polling for file watching. Can optionally pass polling interval; default 100 ms',
110108
implies: 'watch',
111109
})
112110
.option('config', {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"nyc": "^15.0.0",
4040
"postcss": "^8.0.4",
4141
"postcss-import": "^12.0.0",
42-
"prettier": "~2.2.0",
42+
"prettier": "~2.3.0",
4343
"sugarss": "^3.0.0",
4444
"uuid": "^8.0.0"
4545
},

test/watch.js

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

6565
// Helper functions:
6666
function isEqual(p, expected) {
67-
return Promise.all([
68-
read(path.join(dir, p)),
69-
read(expected),
70-
]).then(([a, e]) => t.is(a, e))
67+
return Promise.all([read(path.join(dir, p)), read(expected)]).then(
68+
([a, e]) => t.is(a, e)
69+
)
7170
}
7271

7372
function done(err) {
@@ -145,10 +144,9 @@ testCb('--watch postcss.config.js', (t) => {
145144

146145
// Helper functions:
147146
function isEqual(p, expected) {
148-
return Promise.all([
149-
read(path.join(dir, p)),
150-
read(expected),
151-
]).then(([a, e]) => t.is(a, e))
147+
return Promise.all([read(path.join(dir, p)), read(expected)]).then(
148+
([a, e]) => t.is(a, e)
149+
)
152150
}
153151

154152
function done(err) {
@@ -216,10 +214,9 @@ testCb('--watch dependencies', (t) => {
216214

217215
// Helper functions:
218216
function isEqual(p, expected) {
219-
return Promise.all([
220-
read(path.join(dir, p)),
221-
read(expected),
222-
]).then(([a, e]) => t.is(a, e))
217+
return Promise.all([read(path.join(dir, p)), read(expected)]).then(
218+
([a, e]) => t.is(a, e)
219+
)
223220
}
224221

225222
function done(err) {

0 commit comments

Comments
 (0)