Skip to content

Commit

Permalink
feat: dependency-check支持npm扫描 TencentBlueKing#35
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlkl committed Apr 25, 2023
1 parent f0ed416 commit 5eeaa2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dependency-check/pkg/scan_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (e DependencyCheckExecutor) Execute(config *object.ToolConfig, file *os.Fil
if err := npmPrepare(file); err != nil {
return nil, err
}
inputFile = filepath.Join(filepath.Dir(filepath.Dir(inputFile)), "package-lock.json")
inputFile = filepath.Join(filepath.Dir(inputFile), "package-lock.json")
}

// 下载漏洞库
Expand Down

0 comments on commit 5eeaa2e

Please sign in to comment.