rename path validation method

This commit is contained in:
Eduard Heimbuch
2019-09-12 11:36:49 +02:00
parent 6cad53ec87
commit 7807f5d49d
2 changed files with 3 additions and 3 deletions

View File

@@ -17,6 +17,6 @@ export const isNumberValid = (number: string) => {
const pathRegex = /^((?!\/{2,}).)*$/;
export const isValidPath = (path: string) => {
export const isPathValid = (path: string) => {
return pathRegex.test(path);
};