snyk 1.745.0 → 1.746.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -169985,7 +169985,9 @@ function cleanupCallback(imageFolderPath, imageName) {
169985
169985
  fs.unlinkSync(fullImagePath);
169986
169986
  }
169987
169987
  fs.rmdir(imageFolderPath, (err) => {
169988
- debug(`Can't remove folder ${imageFolderPath}, got error ${err}`);
169988
+ if (err !== null) {
169989
+ debug(`Can't remove folder ${imageFolderPath}, got error ${err}`);
169990
+ }
169989
169991
  });
169990
169992
  };
169991
169993
  }