Skip to content

Commit

Permalink
Merge pull request #143 from sethlu/display-version
Browse files Browse the repository at this point in the history
Display electron-osx-sign@version before running
  • Loading branch information
sethlu authored Jun 20, 2017
2 parents 238d12c + 2f54948 commit a086fb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flat.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const path = require('path')

const Promise = require('bluebird')

const pkg = require('./package.json')
const util = require('./util')
const debuglog = util.debuglog
const debugwarn = util.debugwarn
Expand Down Expand Up @@ -78,6 +79,7 @@ function flatApplicationAsync (opts) {
* @returns {Promise} Promise.
*/
var flatAsync = module.exports.flatAsync = function (opts) {
debuglog('electron-osx-sign@%s', pkg.version)
return validateFlatOptsAsync(opts)
.then(function () {
var promise
Expand Down
2 changes: 2 additions & 0 deletions sign.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const path = require('path')
const Promise = require('bluebird')
const compareVersion = require('compare-version')

const pkg = require('./package.json')
const util = require('./util')
const debuglog = util.debuglog
const debugwarn = util.debugwarn
Expand Down Expand Up @@ -216,6 +217,7 @@ function signApplicationAsync (opts) {
* @returns {Promise} Promise.
*/
var signAsync = module.exports.signAsync = function (opts) {
debuglog('electron-osx-sign@%s', pkg.version)
return validateSignOptsAsync(opts)
.then(function () {
// Determine identity for signing
Expand Down

0 comments on commit a086fb7

Please sign in to comment.