Skip to content

Commit d5a6103

Browse files
zg009TallTed
andauthored
Update lib/handlers/put.js
Co-authored-by: Ted Thibodeau Jr <[email protected]>
1 parent 4d029be commit d5a6103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/handlers/put.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function containsInvalidSuffixes (path) {
2020
if (path.endsWith('/')) {
2121
path = path.slice(0, -1)
2222
} else {
23-
// this is a resource, so it either ends with an extension, or just text
23+
// this is a resource, so it either ends with an extension, or is just text
2424
const lastFullStop = path.lastIndexOf('.')
2525
if (lastFullStop !== -1) { // contains at least one full stop
2626
path = path.slice(0, lastFullStop)

0 commit comments

Comments
 (0)