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

Lint => Update eslint

parent 77badeab
Branches
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ class LazyVal<T> { ...@@ -9,7 +9,7 @@ class LazyVal<T> {
get value(): Promise<T> { get value(): Promise<T> {
return new Promise<T>(resolve => { return new Promise<T>(resolve => {
if ( this.val === undefined ) { if ( this.val === undefined ) {
Promise.resolve(this.valLoader()).then((value: T) => { void Promise.resolve(this.valLoader()).then((value: T) => {
this.val = value; this.val = value;
resolve(value); resolve(value);
}); });
......
...@@ -75,9 +75,9 @@ class RecursiveFilesStats { ...@@ -75,9 +75,9 @@ class RecursiveFilesStats {
if ( callback ) { if ( callback ) {
fileDir.forEach(item => { fileDir.forEach(item => {
this.getStat(item.path, absoluteBasePath, options).then(stat => { void this.getStat(item.path, absoluteBasePath, options).then(stat => {
if ( stat.isDirectory!() ) { if ( stat.isDirectory!() ) {
this.getFiles(absoluteBasePath, item.path, options, [], callback).then(); void this.getFiles(absoluteBasePath, item.path, options, [], callback).then();
} }
callback(item.path, stat); 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