Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentvan7 committed Jan 2, 2024
1 parent d7796af commit 835ff5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/sr-formula/src/data/util/read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export function tagStr(tag: Tag, ex?: any): string {
result += str + ' '
includedRequired = true
}
function optional(str: string | undefined | null) {
function _optional(str: string | undefined | null) {

Check failure on line 124 in libs/sr-formula/src/data/util/read.ts

View workflow job for this annotation

GitHub Actions / call-deploy-frontend / deploy

'_optional' is declared but its value is never read.
if (!str) return
if (includedRequired && !includedBar) {
includedBar = true
Expand Down

0 comments on commit 835ff5d

Please sign in to comment.