File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,15 @@ export function scrubFile(
6767
6868 if ( tryProcessTag ) {
6969 if ( tokens [ 0 ] in tags && tokens . length !== 2 ) {
70- console . warn (
71- chalk . yellowBright . bold (
72- `WARNING line ${
73- i + 1
74- } : possible malformed tag; tags must be on their own line preceded by '}' or followed by '{'`,
75- ) ,
76- ) ;
70+ if ( process . env . NODE_ENV !== "production" ) {
71+ console . warn (
72+ chalk . yellowBright . bold (
73+ `WARNING line ${
74+ i + 1
75+ } : possible malformed tag; tags must be on their own line preceded by '}' or followed by '{'`,
76+ ) ,
77+ ) ;
78+ }
7779 scrubbedLines . push ( line ) ;
7880 continue ;
7981 }
Original file line number Diff line number Diff line change 5555 " backend/python/app/utilities/firebase_rest_client.py" ,
5656 " frontend/src/APIClients/AuthAPIClient.ts" ,
5757 " frontend/src/components/auth" ,
58- " frontend/src/components/pages/Default.tsx" ,
5958 " frontend/src/constants/AuthConstants.ts" ,
6059 " frontend/src/contexts/AuthContext.ts"
6160 ]
You can’t perform that action at this time.
0 commit comments