style: sort keys

This commit is contained in:
Zoltan Kochan
2019-10-28 14:52:41 +02:00
parent 4fde7a858f
commit 69bdd522f8
2 changed files with 3 additions and 3 deletions

View File

@@ -370,6 +370,7 @@ export async function recursive (
...installOpts,
...localConfig,
bin: path.join(prefix, 'node_modules', '.bin'),
dir: prefix,
hooks,
ignoreScripts: true,
pinnedVersion: getPinnedVersion({
@@ -381,7 +382,6 @@ export async function recursive (
...localConfig,
},
storeController,
dir: prefix,
},
)
if (action !== install) {
@@ -455,12 +455,12 @@ export async function recursive (
...installOpts,
...localConfig,
bin: path.join(prefix, 'node_modules', '.bin'),
dir: prefix,
pending: cmdFullName !== 'rebuild' || opts.pending === true,
rawConfig: {
...installOpts.rawConfig,
...localConfig,
},
dir: prefix,
},
)
result.passes++

View File

@@ -29,6 +29,7 @@ test('pnpm outdated', async (t: tape.Test) => {
t.equal(
await outdated([], {
alwaysAuth: false,
dir: process.cwd(),
fetchRetries: 4,
fetchRetryFactor: 1,
fetchRetryMaxtimeout: 60000,
@@ -42,7 +43,6 @@ test('pnpm outdated', async (t: tape.Test) => {
strictSsl: false,
tag: 'latest',
userAgent: '',
dir: process.cwd(),
}, 'outdated'),
stripIndent`
┌─────────────┬──────────────────────┬────────┐