Skip to content

Commit

Permalink
style: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Dec 28, 2022
1 parent 5a719c6 commit 8aaf829
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cli/default-reporter/src/reportError.ts
Expand Up @@ -397,7 +397,7 @@ function reportPreparePackage (
msg: {
stderr: string
stdout: string
},
}
) {
return {
title: err.message,
Expand Down
1 change: 0 additions & 1 deletion exec/prepare-package/package.json
Expand Up @@ -29,7 +29,6 @@
},
"homepage": "https://github.com/pnpm/pnpm/blob/main/exec/prepare-package#readme",
"dependencies": {
"@pnpm/error": "workspace:*",
"@pnpm/npm-lifecycle": "^2.0.0",
"@pnpm/read-package-json": "workspace:*",
"@zkochan/rimraf": "^2.1.2",
Expand Down
1 change: 0 additions & 1 deletion exec/prepare-package/src/index.ts
@@ -1,5 +1,4 @@
import path from 'path'
import { PnpmError } from '@pnpm/error'
import lifecycle from '@pnpm/npm-lifecycle'
import { safeReadPackageJsonFromDir } from '@pnpm/read-package-json'
import { PackageScripts } from '@pnpm/types'
Expand Down
3 changes: 0 additions & 3 deletions exec/prepare-package/tsconfig.json
Expand Up @@ -15,9 +15,6 @@
{
"path": "../../__utils__/test-fixtures"
},
{
"path": "../../packages/error"
},
{
"path": "../../packages/types"
},
Expand Down
2 changes: 1 addition & 1 deletion fetching/git-fetcher/src/index.ts
Expand Up @@ -22,7 +22,7 @@ export function createGitFetcher (createOpts: { gitShallowHosts?: string[], rawC
try {
await preparePkg(tempLocation)
} catch (err: any) { // eslint-disable-line
err.message = `Failed to prepare git-hosted package fetched from "${resolution.repo}": ${err.message}`
err.message = `Failed to prepare git-hosted package fetched from "${resolution.repo}": ${err.message}` // eslint-disable-line
throw err
}
// removing /.git to make directory integrity calculation faster
Expand Down
2 changes: 1 addition & 1 deletion fetching/tarball-fetcher/src/gitHostedTarballFetcher.ts
Expand Up @@ -16,7 +16,7 @@ export function createGitHostedTarballFetcher (fetchRemoteTarball: FetchFunction
try {
return { filesIndex: await prepareGitHostedPkg(filesIndex as FilesIndex, cafs, rawConfig) }
} catch (err: any) { // eslint-disable-line
err.message = `Failed to prepare git-hosted package fetched from "${resolution.tarball}": ${err.message}`
err.message = `Failed to prepare git-hosted package fetched from "${resolution.tarball}": ${err.message}` // eslint-disable-line
throw err
}
}
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8aaf829

Please sign in to comment.