Skip to content
Snippets Groups Projects
Commit 021300d2 authored by michael.minelli's avatar michael.minelli
Browse files

Lint => Update eslint

parent 77badeab
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ class LazyVal<T> {
get value(): Promise<T> {
return new Promise<T>(resolve => {
if ( this.val === undefined ) {
Promise.resolve(this.valLoader()).then((value: T) => {
void Promise.resolve(this.valLoader()).then((value: T) => {
this.val = value;
resolve(value);
});
......
......@@ -75,9 +75,9 @@ class RecursiveFilesStats {
if ( callback ) {
fileDir.forEach(item => {
this.getStat(item.path, absoluteBasePath, options).then(stat => {
void this.getStat(item.path, absoluteBasePath, options).then(stat => {
if ( stat.isDirectory!() ) {
this.getFiles(absoluteBasePath, item.path, options, [], callback).then();
void this.getFiles(absoluteBasePath, item.path, options, [], callback).then();
}
callback(item.path, stat);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment