Skip to content

Commit

Permalink
chore: fix publish test in a git worktree (#6627)
Browse files Browse the repository at this point in the history
The git detection doesn't work in a git worktree
  • Loading branch information
wraithgar committed Jul 5, 2023
1 parent 9238682 commit 690c9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/commands/publish.js
Expand Up @@ -756,7 +756,6 @@ t.test('manifest', async t => {
'scripts',
'tap',
'readme',
'gitHead',
'engines',
'workspaces',
]
Expand All @@ -765,6 +764,7 @@ t.test('manifest', async t => {
t.ok(manifest[k], k)
delete manifest[k]
}
delete manifest.gitHead

manifest.man.sort()

Expand Down

0 comments on commit 690c9fc

Please sign in to comment.