Skip to content

Commit

Permalink
Merge pull request #5702 from mitar/patch-15
Browse files Browse the repository at this point in the history
Use methods when we have them
  • Loading branch information
Sashko Stubailo committed Nov 24, 2015
2 parents 15cdbca + 3a49ae8 commit 643d09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/project-context.js
Expand Up @@ -1133,7 +1133,7 @@ _.extend(exports.PlatformList.prototype, {
getWebArchs: function () {
var self = this;
var archs = [ "web.browser" ];
if (! _.isEmpty(self.getCordovaPlatforms())) {
if (self.usesCordova()) {
archs.push("web.cordova");
}
return archs;
Expand Down

0 comments on commit 643d09a

Please sign in to comment.