File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
field-plugin/helpers/vite/src Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ export const confirmOptionsUpdate = async (
256
256
}
257
257
258
258
export const printManifestOptions = ( options : ManifestOption [ ] | undefined ) => {
259
- if ( options ?. length === 0 ) {
259
+ if ( options ?. length === 0 || options === undefined ) {
260
260
return
261
261
}
262
262
@@ -351,10 +351,8 @@ export const loadManifest = (): Manifest | undefined => {
351
351
352
352
return load ( )
353
353
} catch ( err ) {
354
- console . log ( bold ( red ( '[ERROR]' ) ) , `Error while loading the manifest file` )
355
354
console . log ( `path: ${ MANIFEST_FILE_NAME } ` )
356
- console . log ( `error: ${ getErrorMessage ( err ) } ` )
357
-
355
+ console . log ( red ( `${ bold ( '[ERROR]:' ) } ${ getErrorMessage ( err ) } ` ) )
358
356
return undefined
359
357
}
360
358
}
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ const loadManifest = (): Manifest | undefined => {
49
49
}
50
50
}
51
51
52
- //TODO check this
53
52
const displayManifestChecking = ( ) => {
54
53
if ( manifestExists ( ) ) {
55
54
console . log (
You can’t perform that action at this time.
0 commit comments