mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Bring lint config back to original strictness
This commit is contained in:
@@ -143,7 +143,7 @@ export function mockFileSystem(rootFilepath?: string, time?: Date): { data: any
|
||||
return { folder: cache, name: 'data' };
|
||||
}
|
||||
|
||||
const name = parts.slice(-1)[0];
|
||||
const name = parts.at(-1) as string;
|
||||
parts = parts.slice(0, -1);
|
||||
let folder = cache.data;
|
||||
parts.forEach((part): any => {
|
||||
|
||||
Reference in New Issue
Block a user