Skip to content

Commit 4faf24a

Browse files
committed
Remove more debug
1 parent 132bb5b commit 4faf24a

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/commands/fix/pnpm-fix.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ export async function pnpmFix(
139139
pkgEnvDetails.editablePkgJson.filename!
140140
]
141141

142-
debugLog('workspacePkgJsonPaths', workspacePkgJsonPaths)
143-
144142
let actualTree = initialTree
145143

146144
for (const { 0: name, 1: infos } of infoByPkg) {
@@ -176,9 +174,6 @@ export async function pnpmFix(
176174
firstPatchedVersionIdentifier,
177175
vulnerableVersionRange
178176
} of infos) {
179-
debugLog('name', name)
180-
debugLog('oldVersion', oldVersion)
181-
debugLog('pkgJsonPath', pkgJsonPath)
182177
const node = findPackageNode(actualTree, name, oldVersion)
183178
if (!node) {
184179
debugLog('skipping no node', pkgJsonPath)
@@ -307,7 +302,7 @@ export async function pnpmFix(
307302
rangeStyle
308303
)
309304
debugLog('updatePackageJsonFromNode', modded)
310-
debugLog(branch, editablePkgJson.filename)
305+
311306
let error: unknown
312307
let errored = false
313308
let installed = false
@@ -346,17 +341,13 @@ export async function pnpmFix(
346341
errored = true
347342
}
348343

349-
debugLog('check "shouldOpenPr":', shouldOpenPr)
350-
debugLog('check "errored":', errored)
351344
if (!errored && shouldOpenPr) {
352-
debugLog('1: gitCreateAndPushBranchIfNeeded')
353345
// eslint-disable-next-line no-await-in-loop
354346
await gitCreateAndPushBranchIfNeeded(
355347
branch,
356348
getSocketCommitMessage(oldPurl, newVersion, workspaceName),
357349
cwd
358350
)
359-
debugLog('2: openGitHubPullRequest')
360351
// eslint-disable-next-line no-await-in-loop
361352
const prResponse = await openGitHubPullRequest(
362353
owner,

0 commit comments

Comments
 (0)