Skip to content

Commit

Permalink
chore: fix typings in build/notarize-macos.js
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Bajtoš <saturn@bajtos.net>
  • Loading branch information
bajtos committed Jun 6, 2022
1 parent 117753f commit 8837c8d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build/notarize-macos.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
const { notarize } = require('electron-notarize')

const isSet = (value) => value && value !== 'false'
const isSet = (/** @type {string | undefined} */ value) => value && value !== 'false'

// electron-build hook responsible for Apple Notarization of signed DMG
/**
* electron-build hook responsible for Apple Notarization of signed DMG
*
* @param {import('electron-builder').AfterPackContext} context
*/
exports.default = async function notarizing (context) {
const { electronPlatformName, appOutDir } = context
if (electronPlatformName !== 'darwin') return
Expand Down

0 comments on commit 8837c8d

Please sign in to comment.