Skip to content

Commit

Permalink
Update lib/handlers/put.js
Browse files Browse the repository at this point in the history
Co-authored-by: Ted Thibodeau Jr <[email protected]>
  • Loading branch information
zg009 and TallTed authored Mar 21, 2024
1 parent 1a8987e commit 08886af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handlers/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const RESERVED_SUFFIXES = ['.acl', '.meta']
* @returns {boolean} true is fail - if the path contains reserved suffixes
*/
function containsInvalidSuffixes (path) {
// if it is a container, no suffix so remove last slash
// if it is a container, no suffix, so remove last slash
if (path.endsWith('/')) {
path = path.slice(0, -1)
} else {
Expand Down

0 comments on commit 08886af

Please sign in to comment.