mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-06 00:58:51 +00:00
Lint all tests (#1235)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/* globals openpgp: true */
|
||||
|
||||
importScripts('../../dist/openpgp.js');
|
||||
|
||||
const publicKeyArmored = `-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
@@ -71,7 +73,7 @@ onmessage = async function({ data: { action, message }, ports: [port] }) {
|
||||
}
|
||||
port.postMessage({ result });
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
console.error(e); // eslint-disable-line no-console
|
||||
port.postMessage({ error: e.message });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user