chore: fix miscellaneous errors from linters (#1555)

This commit is contained in:
Caleb
2018-07-31 15:03:46 -06:00
committed by Shawn Erquhart
parent d5f59de2d2
commit 5a27fb8b9d
35 changed files with 75 additions and 85 deletions

View File

@ -1,7 +1,7 @@
const absolutePath = new RegExp('^(?:[a-z]+:)?//', 'i');
const normalizePath = path => path.replace(/[\\\/]+/g, '/');
const normalizePath = path => path.replace(/[\\/]+/g, '/');
export function resolvePath(path, basePath) { // eslint-disable-line
export function resolvePath(path, basePath) {
// No path provided, skip
if (!path) return null;