From 479e45c03be7b452cbe346e96c750d36597c3eb6 Mon Sep 17 00:00:00 2001 From: vanishcode Date: Tue, 16 Jun 2020 16:28:13 +0800 Subject: [PATCH] style: fix lint error with no trailing comma PR-URL: https://github.com/npm/cli/pull/1416 Credit: @vanishcode Close: #1416 Reviewed-by: @claudiahdz --- test/tap/doctor-ping-registry-404.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/tap/doctor-ping-registry-404.js b/test/tap/doctor-ping-registry-404.js index ef130374f834c..00a772a7c0dac 100644 --- a/test/tap/doctor-ping-registry-404.js +++ b/test/tap/doctor-ping-registry-404.js @@ -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) @@ -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')