Add forgotten isUnderPrefix implementation
parent
b9e2515dd3
commit
385d526b0f
@ -0,0 +1,6 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = function isUnderPrefix(prefix, path) {
|
||||||
|
/* TODO: Does this need to be improved via 'proper' path segment parsing? */
|
||||||
|
return (path.indexOf(prefix) === 0);
|
||||||
|
};
|
Loading…
Reference in New Issue