Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Oct 19, 2023
1 parent ebce7d8 commit a0ef778
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/rust/browser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* eslint-disable no-undef */
/* global WebAssembly, crypto */

const {Environment, napi} = require('napi-wasm');

let env;
Expand All @@ -13,6 +14,7 @@ module.exports.init = async function init(input) {
crypto.getRandomValues(buf);
},
log: (ptr, len) => {
// eslint-disable-next-line no-console
console.log(env.getString(ptr, len));
},
},
Expand Down

0 comments on commit a0ef778

Please sign in to comment.