We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dcabe1 commit 0a8cce7Copy full SHA for 0a8cce7
bin/cdklocal
@@ -121,13 +121,11 @@ const fetchURLAsync = (url) => new Promise((resolve, reject) => {
121
req.end();
122
});
123
124
-const getTemplateBody = async (params) => {
+const getTemplateBody = (params) => {
125
if (params.TemplateBody) {
126
return params.TemplateBody;
127
}
128
- const templateURL = await Promise.resolve(params.TemplateURL);
129
- console.info(`Fetching template from URL: ${templateURL}`);
130
- return await fetchURLAsync(templateURL);
+ return fetchURLAsync(params.TemplateURL);
131
};
132
133
// small import util function
0 commit comments