Skip to content

Commit

Permalink
Merge pull request #74 from bgoscinski/patch-1
Browse files Browse the repository at this point in the history
correct example syntax in VISION.md
  • Loading branch information
orta committed Jan 2, 2017
2 parents 20c04f3 + 0b63c57 commit a895c81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions VISION.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ The website will stay devoted to the Danger gem, until this project starts to ma
import danger from 'danger'
import _ from 'lodash'

const hasAppChanges = _.filter(danger.git.modified_files, (path) =>
const hasAppChanges = _.filter(danger.git.modified_files, (path) => {
return _.includes(path, 'lib/');
}.length > 0
}).length > 0

if (hasAppChanges && _.includes(danger.git.modified_files, "CHANGELOG.md") === false) {
fail("No CHANGELOG added.")
Expand All @@ -63,4 +63,4 @@ const untestedFiles = _.difference(sourcePaths, logicalTestPaths)
if (untestedFiles.length > 0) {
warn("The following files do not have tests: " + danger.github.html_link(untestedFiles))
}
```
```

0 comments on commit a895c81

Please sign in to comment.