We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d029be commit d5a6103Copy full SHA for d5a6103
lib/handlers/put.js
@@ -20,7 +20,7 @@ function containsInvalidSuffixes (path) {
20
if (path.endsWith('/')) {
21
path = path.slice(0, -1)
22
} else {
23
- // this is a resource, so it either ends with an extension, or just text
+ // this is a resource, so it either ends with an extension, or is just text
24
const lastFullStop = path.lastIndexOf('.')
25
if (lastFullStop !== -1) { // contains at least one full stop
26
path = path.slice(0, lastFullStop)
0 commit comments