Skip to content

Commit

Permalink
add constant variable to recs
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed Jul 7, 2023
1 parent 55617f3 commit 45da13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/validate/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const errorInfo: ErrorDescriptions<ValidationError> = {
msg: e => `Variable \`${e.name}\` is immutable and will be initialized on the implementation`,
hint: () =>
`If by design, annotate with '@custom:oz-upgrades-unsafe-allow state-variable-immutable'\n` +
`Otherwise, use a mutable variable instead`,
`Otherwise, consider a constant variable or use a mutable variable instead`,
link: 'https://zpl.in/upgrades/error-005',
},
'external-library-linking': {
Expand Down

0 comments on commit 45da13a

Please sign in to comment.