File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 17
17
strategy :
18
18
matrix :
19
19
node :
20
- - lts/dubnium
20
+ - lts/erbium
21
21
- node
22
22
windows :
23
23
name : ${{matrix.node}}
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @typedef {import('unified-engine').Options } EngineOptions
3
- * @typedef {import('unified-engine/lib/index.js ').Context } EngineContext
3
+ * @typedef {import('unified-engine').Context } EngineContext
4
4
* @typedef {import('unified-engine').Callback } EngineCallback
5
5
* @typedef {import('./options.js').Options } Options
6
6
*/
Original file line number Diff line number Diff line change 47
47
"bail" : " ^2.0.0" ,
48
48
"c8" : " ^7.0.0" ,
49
49
"execa" : " ^5.0.0" ,
50
- "figures" : " ^4.0.0" ,
51
50
"prettier" : " ^2.0.0" ,
52
51
"remark" : " ^13.0.0" ,
53
52
"remark-cli" : " ^9.0.0" ,
Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ import execa from 'execa'
4
4
import { bail } from 'bail'
5
5
import test from 'tape'
6
6
import strip from 'strip-ansi'
7
- import figures from 'figures'
8
7
import touch from 'touch'
9
8
9
+ const cross = process . platform === 'win32' ? '×' : '✖'
10
+
10
11
const fixtures = path . join ( 'test' , 'fixtures' )
11
12
const cwd = path . join ( fixtures , 'example' )
12
13
const bin = path . join ( cwd , 'cli.js' )
@@ -19,7 +20,7 @@ test('unified-args', (t) => {
19
20
'missing.txt' ,
20
21
' 1:1 error No such file or directory' ,
21
22
'' ,
22
- figures . cross + ' 1 error'
23
+ cross + ' 1 error'
23
24
] . join ( '\n' )
24
25
25
26
t . plan ( 1 )
@@ -595,7 +596,7 @@ test('unified-args', (t) => {
595
596
'' ,
596
597
'two.txt: no issues found' ,
597
598
'' ,
598
- figures . cross + ' 1 error'
599
+ cross + ' 1 error'
599
600
] . join ( '\n' )
600
601
601
602
t . plan ( 1 )
You can’t perform that action at this time.
0 commit comments