Skip to content

Commit

Permalink
fixup! fixup! ls: show relative paths from root, not absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed May 24, 2021
1 parent 4c534ed commit 01235d9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/lib/ls.js
Expand Up @@ -90,7 +90,12 @@ const diffDepTypesNmFixture = {
}

let result = ''
const LS = require('../../lib/ls.js')
const LS = t.mock('../../lib/ls.js', {
path: {
...require('path'),
sep: '/',
},
})
const config = {
all: true,
color: false,
Expand Down

0 comments on commit 01235d9

Please sign in to comment.