Skip to content

Commit

Permalink
fix: properly import info logger (#1405)
Browse files Browse the repository at this point in the history
  • Loading branch information
Karangoyal25892 authored Aug 23, 2022
1 parent 0d692d7 commit 5c0102a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cli.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const { common, hostInfo, warning } = require('./common')
const { info, hostInfo, warning } = require('./common')
const fs = require('fs-extra')
const { initializeProxy } = require('@electron/get')
const packager = require('..')
Expand Down Expand Up @@ -127,9 +127,9 @@ module.exports = {
try {
const appPaths = await packager(args)
if (appPaths.length > 1) {
common.info(`Wrote new apps to:\n${appPaths.join('\n')}`)
info(`Wrote new apps to:\n${appPaths.join('\n')}`)
} else if (appPaths.length === 1) {
common.info('Wrote new app to', appPaths[0])
info('Wrote new app to', appPaths[0])
}
} catch (err) {
if (err.message) {
Expand Down

0 comments on commit 5c0102a

Please sign in to comment.