Skip to content

Commit

Permalink
Merge pull request #437 from reisel/patch-1
Browse files Browse the repository at this point in the history
fix invalid path join #436
  • Loading branch information
ob-stripe authored Mar 25, 2018
2 parents 8e7271b + d90b8ab commit 52a896a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/StripeResource.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ StripeResource.prototype = {
createResourcePathWithSymbols: function(pathWithSymbols) {
return '/' + path.join(
this.resourcePath,
pathWithSymbols
pathWithSymbols || ''
).replace(/\\/g, '/'); // ugly workaround for Windows
},

Expand Down

0 comments on commit 52a896a

Please sign in to comment.