cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hermw...@apache.org
Subject [3/3] git commit: Check if privileged attribute is 'true'
Date Fri, 25 Apr 2014 20:45:38 GMT
Check if privileged attribute is 'true'


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/5835a02e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/5835a02e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/5835a02e

Branch: refs/heads/master
Commit: 5835a02e877b0b78a30fd0edc989c4b7d93afdd5
Parents: b454946
Author: Rodrigo Silveira <rodrigos@outlook.com>
Authored: Tue Apr 22 14:08:06 2014 -0400
Committer: hermwong <herm.wong@gmail.com>
Committed: Fri Apr 25 13:45:11 2014 -0700

----------------------------------------------------------------------
 src/metadata/firefoxos_parser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5835a02e/src/metadata/firefoxos_parser.js
----------------------------------------------------------------------
diff --git a/src/metadata/firefoxos_parser.js b/src/metadata/firefoxos_parser.js
index b9c1d51..351a409 100644
--- a/src/metadata/firefoxos_parser.js
+++ b/src/metadata/firefoxos_parser.js
@@ -84,7 +84,7 @@ module.exports.prototype = {
                         manifest.permissions[permissionName].access = node.attrib['access'];
                     }
 
-                    if (node.attrib['privileged']) {
+                    if (node.attrib['privileged'] === "true") {
                         privileged = true;
                     }
                 }


Mime
View raw message