Skip to content

Commit

Permalink
workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
filfreire committed Oct 15, 2024
1 parent e0e2dfa commit 9862eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/insomnia/customSign.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const execAsync = util.promisify(exec);

exports.default = async function(configuration) {
// skip signing if not windows squirrel
if (configuration.options.target[0].target !== 'squirrel') {
if (!configuration.options.target || configuration.options.target !== 'squirrel' || configuration.options.target[0].target !== 'squirrel') {
console.log('[customSign] Skipping signing because target is not windows squirrel.');
return;
}
Expand Down

0 comments on commit 9862eca

Please sign in to comment.