Skip to content

Commit

Permalink
fix console output
Browse files Browse the repository at this point in the history
  • Loading branch information
FroggyPanda committed Mar 18, 2024
1 parent 0fae1ff commit 3b0970b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/getViewsProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export function getViewsProperties(project, sourceFile, schema) {
if (viewsProperties.length < 1) {
// eslint-disable-next-line no-console
console.log(
`No views found within the Views property for schema ${schema}.`
`${chalk.yellow.bold(
'warn'
)} No views found within the Views property for schema ${schema}.`
);
return [];
}
Expand Down

0 comments on commit 3b0970b

Please sign in to comment.