Skip to content

Commit

Permalink
Replace const icon to let icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime GRIS committed Jun 7, 2017
1 parent 4961fb0 commit dadf65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function pack(plat, arch, cb) {
// there is no darwin ia32 electron
if (plat === 'darwin' && arch === 'ia32') return;

const icon = 'src/favicon';
let icon = 'src/favicon';

if (icon) {
DEFAULT_OPTS.icon = icon + (() => {
Expand Down

2 comments on commit dadf65f

@lacroixdavid1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maximegris Just wundering why did you switch from const to let ?

@maximegris
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't remember why... sorry

Please sign in to comment.