snyk 1.899.0 → 1.900.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.
@@ -154670,7 +154670,7 @@ async function scan(options) {
154670
154670
  const target = await git_1.getTarget();
154671
154671
  debug_1.debug('target %o \n', target);
154672
154672
  const gitInfo = hosted_git_info_1.fromUrl(target.remoteUrl);
154673
- const name = options.projectName || (gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.project) || path.basename(projectRoot);
154673
+ const name = options['project-name'] || (gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.project) || path.basename(projectRoot);
154674
154674
  debug_1.debug('name %o \n', name);
154675
154675
  const scanResults = [
154676
154676
  {