1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-05 23:53:21 +00:00

Add eslint (#243)

This commit is contained in:
Oscar Hinton
2022-03-03 11:09:04 +01:00
committed by GitHub
parent 0c21bcf847
commit e38ce53ed5
47 changed files with 2443 additions and 756 deletions

View File

@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-var-requires */
require("dotenv").config();
const { notarize } = require("electron-notarize");

View File

@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-var-requires, no-console */
exports.default = async function (configuration) {
if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1 && configuration.path.slice(-4) == ".exe") {
console.log(`[*] Signing file: ${configuration.path}`);