Skip to content

Commit 45f6402

Browse files
committed
fix: duplicate error message
1 parent ef6e8d4 commit 45f6402

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

lib/env/vulcan.env.js

-3
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ async function readVulcanEnv(scope = 'local') {
124124
return null;
125125
}
126126
debug.error(error);
127-
feedback.error(Messages.errors.file_doesnt_exist(vulcanEnvPath));
128127
throw error;
129128
}
130129
}
@@ -236,8 +235,6 @@ async function loadAzionConfig(configPath) {
236235
handleDependencyError(error, configPath);
237236
return null;
238237
}
239-
debug.error(error);
240-
feedback.error(Messages.errors.file_doesnt_exist(configPath));
241238
throw error;
242239
}
243240
}

lib/presets/stencil/azion.config.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ const config = defineConfig({
2727
},
2828
{
2929
name: 'Deliver Static Assets',
30-
match: '.(css|js|ttf|woff|woff2|pdf|svg|jpg|jpeg|gif|bmp|png|ico|mp4|json|xml|html)$',
30+
match:
31+
'.(css|js|ttf|woff|woff2|pdf|svg|jpg|jpeg|gif|bmp|png|ico|mp4|json|xml|html)$',
3132
behavior: {
3233
setOrigin: {
3334
name: 'origin-storage-default',
@@ -47,4 +48,4 @@ const config = defineConfig({
4748
},
4849
});
4950

50-
export default config;
51+
export default config;

0 commit comments

Comments
 (0)