Skip to content
This repository was archived by the owner on Jun 16, 2022. It is now read-only.

Go list implementation for detecting dependencies #5

Merged
merged 23 commits into from
May 24, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update toolkit lib
  • Loading branch information
lseppala authored May 17, 2022
commit bb061b882fe93a2cb48bffd86546180236ba645f
6 changes: 1 addition & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3470,11 +3470,7 @@ function readDependencies(dependenciesProcessorFunc, manifestInfo = {}) {
std_err += data.toString();
}
};
options.cwd = '././';
const manifestCmdArr = manifestInfo.command.split(' ');
return exec
.exec(manifestCmdArr[0], manifestCmdArr.slice(1, manifestCmdArr.length), options)
.then((res) => {
return exec.exec(manifestInfo.command, undefined, options).then((res) => {
if (std_err) {
console.log(std_err);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"dependencies": {
"@actions/core": "^1.6.0",
"@actions/github": "^5.0.0",
"@github/dependency-submission-toolkit": "^1.0.0"
"@github/dependency-submission-toolkit": "^1.0.1"
}
}