Change plugin graph label from "PASS" to "DONE" (#221)
Test Plan: Run `node bin/sourcecred.js graph sourcecred example-github` and note the new output: ``` Storing graphs into: /tmp/sourcecred/sourcecred/example-github Starting tasks GO create-git GO create-github DONE create-git DONE create-github GO combine DONE combine Full results DONE create-git DONE create-github DONE combine Overview Final result: SUCCESS ``` wchargin-branch: plugin-graph-label
This commit is contained in:
parent
4e8d5b574a
commit
1e0d846675
|
@ -68,7 +68,7 @@ function graph(
|
|||
console.log("Storing graphs into: " + scopedDirectory);
|
||||
mkdirp.sync(scopedDirectory);
|
||||
const tasks = makeTasks(scopedDirectory, {repoOwner, repoName, token});
|
||||
execDependencyGraph(tasks).then(({success}) => {
|
||||
execDependencyGraph(tasks, {taskPassLabel: "DONE"}).then(({success}) => {
|
||||
process.exitCode = success ? 0 : 1;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue