style: fix lint issues

This commit is contained in:
Jean-Philippe Sirois
2019-08-18 23:58:11 -04:00
parent 71557fa75b
commit e7f1f0728a
23 changed files with 55 additions and 51 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { IFileOrFolder } from "../components/ResourcesSidebar/index"
export function traversePaths(
[head, ...tail]: string[],
basePath = "/resources"
basePath: string = "/resources"
): IFileOrFolder {
const path = basePath + "/" + head
const isFile = !tail.length