Skip to content

Commit 894e73d

Browse files
author
Eric Koleda
authored
Merge pull request #56 from oshliaer/check_expose_module_var
typeof test of a gulp-expose varables
2 parents 426bf79 + 29a3f3d commit 894e73d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OAuth2.gs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function getRedirectUri(scriptId) {
6161
return Utilities.formatString('https://script.google.com/macros/d/%s/usercallback', scriptId);
6262
}
6363

64-
if (module) {
64+
if (typeof module === 'object') {
6565
module.exports = {
6666
createService: createService,
6767
getRedirectUri: getRedirectUri

0 commit comments

Comments
 (0)