Skip to content

Commit

Permalink
eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-p committed Feb 10, 2025
1 parent adf7448 commit 96bca09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3909,7 +3909,8 @@ export default class Compiler {
const storageProp = this.storageProps[storageName!];

const { type, valueType } = storageProp;
let action: 'set' | 'replace' = type === 'box' && !this.isDynamicType(valueType) && !typeInfoToABIString(valueType).includes('bool')
let action: 'set' | 'replace' =
type === 'box' && !this.isDynamicType(valueType) && !typeInfoToABIString(valueType).includes('bool')
? 'replace'
: 'set';
if (valueType.kind === 'base') action = 'set';
Expand Down

0 comments on commit 96bca09

Please sign in to comment.