Skip to content

Commit

Permalink
Update lodash & typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darqs committed Jul 28, 2019
1 parent f2897cb commit 875be6d
Show file tree
Hide file tree
Showing 7 changed files with 131 additions and 132 deletions.
246 changes: 123 additions & 123 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion devEnvSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ question('Do you want to use another path (yes/no)? ')
});
}
console.log('\nCreating meteor-desktop-test-app');
exec('meteor create meteor-desktop-test-app --release=METEOR@1.4.2.7');
exec('meteor create meteor-desktop-test-app --release=METEOR@1.6');

console.log('Installing deps in meteor-desktop...\n');
return spawn(npm, ['install'], path.join(resolvedPath, 'meteor-desktop'));
Expand Down
2 changes: 1 addition & 1 deletion lib/electronApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ export default class ElectronApp {

const uglifyingEnabled = 'uglify' in settings && !!settings.uglify;

const preset = presetEnv(undefined, { targets: { node: '8' } });
const preset = presetEnv({ assertVersion: () => {} }, { targets: { node: '8' } });

const { data: files } = await this.$.utils.readDir(this.$.env.paths.desktopTmp.root);

Expand Down
2 changes: 1 addition & 1 deletion lib/electronBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export default class InstallerBuilder {
this.platforms = this.platforms
.filter(platform => platform !== context.electronPlatformName);
if (this.platforms.length !== 0) {
return Promise.resovle();
return Promise.resolve();
}
return new Promise((resolve, reject) => {
shell.config.fatal = true;
Expand Down
1 change: 0 additions & 1 deletion lib/meteorApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ export default class MeteorApp {
!~line.indexOf('--production') &&
!~line.indexOf('Output exceeds ') &&
!~line.indexOf('Node#moveTo') &&
!~line.indexOf('Browserslist') && // ignore error releated to Browserslist
(
Array.isArray(self.$.env.options.ignoreStderr) &&
self.$.env.options.ignoreStderr.every(str => !~line.indexOf(str))
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"del": "2.2.2",
"install-local": "0.6.0",
"isbinaryfile": "3.0.3",
"lodash": "4.17.14",
"lodash": "4.17.15",
"md5": "2.2.1",
"mksnapshot": "0.3.5",
"node-fetch": "2.2.0",
Expand Down

0 comments on commit 875be6d

Please sign in to comment.