Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,6 @@ function saveDiscoveredLambdas(lambdasListNew: LambdaResource[]) {
for (const lambda of lambdasListNew) {
addLambda(lambda);
}

Logger.log('Found the following Lambdas to debug:');
Logger.log(
` - ${getLambdasFiltered()
.map((f) => `${f.functionName} code: ${f.codePath}`)
.join('\n - ')}`,
);
}
}

Expand Down
9 changes: 9 additions & 0 deletions src/lldebugger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@ async function run() {

await Configuration.discoverLambdas();

if (!Configuration.config.remove) {
Logger.log('Found the following Lambdas to debug:');
Logger.log(
` - ${Configuration.getLambdasFiltered()
.map((f) => `${f.functionName} code: ${f.codePath}`)
.join('\n - ')}`,
);
}

if (Configuration.config.remove) {
const removalChanges = await InfraDeploy.getInfraChangesForRemoving();

Expand Down
Loading