mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix undeclared for-of loop variables in tools/cordova.
This commit is contained in:
2
tools/cordova/project.js
vendored
2
tools/cordova/project.js
vendored
@@ -333,7 +333,7 @@ to build apps for ${displayNameForPlatform(platform)}.`);
|
||||
Console.info();
|
||||
|
||||
Console.info("Status of the individual requirements:");
|
||||
for (requirement of requirements) {
|
||||
for (const requirement of requirements) {
|
||||
const name = requirement.name;
|
||||
if (requirement.installed) {
|
||||
Console.success(name, "installed");
|
||||
|
||||
2
tools/cordova/runner.js
vendored
2
tools/cordova/runner.js
vendored
@@ -28,7 +28,7 @@ export class CordovaRunner {
|
||||
let satisfied = true;
|
||||
const messages = buildmessage.capture(
|
||||
{ title: `checking platform requirements` }, () => {
|
||||
for (platform of this.platformsForRunTargets) {
|
||||
for (const platform of this.platformsForRunTargets) {
|
||||
satisfied =
|
||||
this.cordovaProject.checkPlatformRequirements(platform) &&
|
||||
satisfied;
|
||||
|
||||
Reference in New Issue
Block a user