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:
William Chargin 2018-05-07 14:47:43 -07:00 committed by GitHub
parent 4e8d5b574a
commit 1e0d846675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
});
}