message: Use synchronous call
diff: @@ -56,7 +56,7 @@ export class Cleaner {
  ).then(files => Promise.all(
  // Try to unlink the files, returning a Promise for every file
  files.map(file => {
  - fs.promises.stat(file).then((stats: fs.Stats) => {
  + const stats: fs.Stats = fs.statSync(file)
  if (stats.isFile()) {
  fs.promises.unlink(file).then(() => {
  this.extension.logger.addLogMessage(`File cleaned: ${file}`)
  @@ -67,7 +67,6 @@ export class Cleaner {
  this.extension.logger.addLogMessage(`Not removing non-file: ${file}`)
  }
  })
  - })
  )).then(
  () => { } // Do not pass results to Promise returned by clean()
  ).catch(err => {
  