Skip to content

Commit

Permalink
Merge pull request #9383 from garymathews/TIMOB-25212
Browse files Browse the repository at this point in the history
[TIMOB-25212] Android: Fix strict equality of apiName
  • Loading branch information
Lokesh Choudhary committed Nov 2, 2017
2 parents a37933d + bd53798 commit 89d66ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/cli/commands/_buildModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ AndroidModuleBuilder.prototype.generateV8Bindings = function (next) {
let apiName = namespace.split('.'),
varName,
decl;
if (apiName === '') {
if (apiName[0] === '') {
varName = 'module';
namespace = moduleName;
apiName = moduleName;
Expand Down

0 comments on commit 89d66ec

Please sign in to comment.