Error type fixes
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-10-18 13:03:28 -05:00
parent 8d1dcc87fb
commit 9ee4c42e43
7 changed files with 47 additions and 20 deletions

View File

@@ -92,7 +92,7 @@ export class LocalFilesystem extends Filesystem {
isFile: stat.isFile(),
}
} catch (e) {
if ( e?.code === 'ENOENT' ) {
if ( (e as any)?.code === 'ENOENT' ) {
return {
path: new UniversalPath(args.storePath, this),
exists: false,