Skip to content

Commit

Permalink
style: fix lint error with no trailing comma
Browse files Browse the repository at this point in the history
PR-URL: #1416
Credit: @vanishcode
Close: #1416
Reviewed-by: @claudiahdz
  • Loading branch information
vanishcode authored and claudiahdz committed Jun 24, 2020
1 parent 1aec4cb commit 479e45c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/tap/doctor-ping-registry-404.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,18 @@ t.test('setup', (t) => {
_hasShrinkwrap: false,
dist: {
shasum: 'deadbeef',
tarball: 'https://reg.eh/npm-0.0.0.tgz',
},
},
},
tarball: 'https://reg.eh/npm-0.0.0.tgz'
}
}
}
})
)
const fixture = new Tacks(
Dir({
[path.basename(PKG)]: Dir({
'package.json': File({ name: 'npm', version: '0.0.0' }),
'package.json': File({ name: 'npm', version: '0.0.0' })
}),
[path.basename(PREFIX)]: Dir({}),
[path.basename(PREFIX)]: Dir({})
})
)
fixture.create(ROOT)
Expand All @@ -75,7 +75,7 @@ t.test('setup', (t) => {
loglevel: 'silent',
cache: CACHE,
tmp: TMP,
prefix: PREFIX,
prefix: PREFIX
},
(err) => {
t.ifError(err, 'npm loaded successfully')
Expand Down

0 comments on commit 479e45c

Please sign in to comment.