Skip to content

Commit 4990e66

Browse files
chore: add debug logs
1 parent a5aee6d commit 4990e66

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

packages/build/src/core/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@ const runBuild = async function ({
652652
return { netlifyConfig }
653653
}
654654

655+
console.log(`### GET STEPS ###`, JSON.stringify(steps, null, 2))
655656
const {
656657
stepsCount,
657658
netlifyConfig: netlifyConfigA,

packages/build/src/plugins/load.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ const loadPlugin = async function (
108108
origin,
109109
pluginPackageJson,
110110
childProcess,
111+
extension: rest.integration,
111112
}))
112113
return pluginSteps
113114
} catch (error) {

packages/build/src/steps/run_step.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ export const runStep = async function ({
6969
userNodeVersion,
7070
explicitSecretKeys,
7171
edgeFunctionsBootstrapURL,
72+
extension,
7273
}) {
74+
console.log(`### INSIDE RUN STEP ###`, JSON.stringify(extension ? extension : {}, null, 2))
7375
// Add relevant attributes to the upcoming span context
7476
const attributes: StepExecutionAttributes = {
7577
'build.execution.step.name': coreStepName,

packages/build/src/steps/run_steps.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export const runSteps = async function ({
7676
event,
7777
childProcess,
7878
packageName,
79+
extension,
7980
coreStep,
8081
coreStepId,
8182
coreStepName,
@@ -103,6 +104,7 @@ export const runSteps = async function ({
103104
event,
104105
childProcess,
105106
packageName,
107+
extension,
106108
coreStep,
107109
coreStepId,
108110
coreStepName,

0 commit comments

Comments
 (0)