Skip to content

Commit 52a896a

Browse files
authored
Merge pull request #437 from reisel/patch-1
fix invalid path join #436
2 parents 8e7271b + d90b8ab commit 52a896a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/StripeResource.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ StripeResource.prototype = {
7272
createResourcePathWithSymbols: function(pathWithSymbols) {
7373
return '/' + path.join(
7474
this.resourcePath,
75-
pathWithSymbols
75+
pathWithSymbols || ''
7676
).replace(/\\/g, '/'); // ugly workaround for Windows
7777
},
7878

0 commit comments

Comments
 (0)