File tree 2 files changed +6
-5
lines changed
packages/astro/src/cli/check
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' astro ' : patch
3
+ ---
4
+
5
+ Fixes a case where failing content entries in ` astro check ` would not be surfaced
Original file line number Diff line number Diff line change @@ -31,11 +31,7 @@ export async function check(flags: Flags) {
31
31
// NOTE: In the future, `@astrojs/check` can expose a `before lint` hook so that this works during `astro check --watch` too.
32
32
// For now, we run this once as usually `astro check --watch` is ran alongside `astro dev` which also calls `astro sync`.
33
33
const { default : sync } = await import ( '../../core/sync/index.js' ) ;
34
- try {
35
- await sync ( flagsToAstroInlineConfig ( flags ) ) ;
36
- } catch ( _ ) {
37
- return process . exit ( 1 ) ;
38
- }
34
+ await sync ( flagsToAstroInlineConfig ( flags ) ) ;
39
35
}
40
36
41
37
const { check : checker , parseArgsAsCheckConfig } = checkPackage ;
You can’t perform that action at this time.
0 commit comments