Skip to content

Commit 5f6874d

Browse files
committed
fixup! fixup! ls: show relative paths from root, not absolute
1 parent 32acbb3 commit 5f6874d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/lib/ls.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,12 @@ const diffDepTypesNmFixture = {
9090
}
9191

9292
let result = ''
93-
const LS = require('../../lib/ls.js')
93+
const LS = t.mock('../../lib/ls.js', {
94+
path: {
95+
...require('path'),
96+
sep: '/',
97+
},
98+
})
9499
const config = {
95100
all: true,
96101
color: false,

0 commit comments

Comments
 (0)