File tree 4 files changed +4
-6
lines changed
4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export function extractPackageFile(
38
38
}
39
39
40
40
const definitions = ApplicationDefinitionSchema . catch (
41
- withDebugMessage ( [ ] , `error parsing ${ packageFile } ` ) ,
41
+ withDebugMessage ( [ ] , `${ packageFile } does not match schema ` ) ,
42
42
) . parse ( content ) ;
43
43
44
44
const deps = definitions . flatMap ( processAppSpec ) ;
Original file line number Diff line number Diff line change @@ -244,9 +244,7 @@ export const ComposerExtract = z
244
244
. pipe ( Json )
245
245
. pipe ( Lockfile )
246
246
. nullable ( )
247
- . catch (
248
- withDebugMessage ( null , 'Composer: lockfile parsing error' ) ,
249
- ) ,
247
+ . catch ( withDebugMessage ( null , 'Composer: does not match schema' ) ) ,
250
248
] ) ,
251
249
) ,
252
250
} ) ,
Original file line number Diff line number Diff line change @@ -60,4 +60,4 @@ export const DevboxSchema = Jsonc.pipe(
60
60
} ) ,
61
61
)
62
62
. transform ( ( { packages } ) => packages )
63
- . catch ( withDebugMessage ( [ ] , 'Devbox: error parsing file ' ) ) ;
63
+ . catch ( withDebugMessage ( [ ] , 'Devbox: does not match schema ' ) ) ;
Original file line number Diff line number Diff line change @@ -39,4 +39,4 @@ export const WorkflowJobsSchema = Yaml.pipe(
39
39
} ) ,
40
40
)
41
41
. transform ( ( v ) => Object . values ( v . jobs ) )
42
- . catch ( withDebugMessage ( [ ] , 'Error parsing workflow ' ) ) ;
42
+ . catch ( withDebugMessage ( [ ] , 'Does not match schema ' ) ) ;
You can’t perform that action at this time.
0 commit comments