Skip to content

Commit

Permalink
remove unary, revert
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed May 16, 2023
1 parent 32726cc commit d1ec7e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/esmockCache.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const esmockCache = {

const esmockTreeIdSet = (key, keylong) => (
typeof global.postMessageEsmk === 'function'
? global.postMessageEsmk({ key, keylong })
: global.mockKeys[String(key)] = keylong)
&& global.postMessageEsmk({ key, keylong }),
global.mockKeys[String(key)] = keylong)

const esmockTreeIdGet = key => (
global.mockKeys[String(key)])
Expand Down

0 comments on commit d1ec7e4

Please sign in to comment.