You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2015/09/03 17:32:12 UTC
ios commit: Fix linting errors
Repository: cordova-ios
Updated Branches:
refs/heads/master f58c05efa -> ef355b334
Fix linting errors
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/ef355b33
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/ef355b33
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/ef355b33
Branch: refs/heads/master
Commit: ef355b334adfb4fbfb81358527688cac3540cfce
Parents: f58c05e
Author: Simon MacDonald <si...@gmail.com>
Authored: Thu Sep 3 11:31:50 2015 -0400
Committer: Simon MacDonald <si...@gmail.com>
Committed: Thu Sep 3 11:31:50 2015 -0400
----------------------------------------------------------------------
bin/templates/scripts/cordova/lib/run.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/ef355b33/bin/templates/scripts/cordova/lib/run.js
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/lib/run.js b/bin/templates/scripts/cordova/lib/run.js
index d51ba52..3e4c0ac 100644
--- a/bin/templates/scripts/cordova/lib/run.js
+++ b/bin/templates/scripts/cordova/lib/run.js
@@ -154,7 +154,7 @@ function deployToSim(appPath, target) {
target = emulators[0];
}
emulators.forEach(function (emulator) {
- if (emulator.indexOf("iPhone") == 0) {
+ if (emulator.indexOf('iPhone') === 0) {
target = emulator;
}
});
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org