@jdeighan/coffee-utils 16.0.2 → 16.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/fs.coffee +1 -1
- package/src/fs.js +1 -1
package/package.json
CHANGED
package/src/fs.coffee
CHANGED
@@ -239,7 +239,7 @@ export isSimpleFileName = (path) =>
|
|
239
239
|
|
240
240
|
export fileStub = (path) =>
|
241
241
|
|
242
|
-
assert isString(path), "
|
242
|
+
assert isString(path), "fileStub(): path not a string"
|
243
243
|
if lMatches = path.match(/^(.*)\.[A-Za-z0-9_]+$/)
|
244
244
|
return lMatches[1]
|
245
245
|
else
|
package/src/fs.js
CHANGED
@@ -292,7 +292,7 @@ export var isSimpleFileName = (path) => {
|
|
292
292
|
// ---------------------------------------------------------------------------
|
293
293
|
export var fileStub = (path) => {
|
294
294
|
var lMatches;
|
295
|
-
assert(isString(path), "
|
295
|
+
assert(isString(path), "fileStub(): path not a string");
|
296
296
|
if (lMatches = path.match(/^(.*)\.[A-Za-z0-9_]+$/)) {
|
297
297
|
return lMatches[1];
|
298
298
|
} else {
|