We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d36fab9 commit 856d8b3Copy full SHA for 856d8b3
src/cloudFormation.ts
@@ -9,6 +9,7 @@ import { Logger } from './logger.js';
9
import * as yaml from 'yaml';
10
11
let cloudFormationClient: CloudFormationClient;
12
+const originalConsoleError = console.error;
13
14
/**
15
* Get CloudFormation stack template
@@ -85,7 +86,6 @@ async function getCloudFormationResources(
85
86
awsConfiguration: AwsConfiguration,
87
) {
88
// temporary disable console.error because SAM framework outputs useless errors
- const originalConsoleError = console.error;
89
console.error = function () {};
90
const { ListStackResourcesCommand } = await import(
91
'@aws-sdk/client-cloudformation'
0 commit comments