Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Aug 19, 2024
1 parent dfa040b commit afedf56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/circuits.js/src/scripts/constants.in.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ function parseNoirFile(fileContent: string): ParsedContent {
const [, name, _type, value] = line.match(/global\s+(\w+)(\s*:\s*\w+)?\s*=\s*(.+?);/) || [];

if (!name || !value) {
// eslint-disable-next-line no-console
if (!line.includes('use crate')) {
// eslint-disable-next-line no-console
console.warn(`Unknown content: ${line}`);
}
return;
Expand Down

0 comments on commit afedf56

Please sign in to comment.