Skip to content

Commit

Permalink
Redeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Oct 28, 2016
1 parent 7520f4a commit 4c4e196
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ Then add a run command to your `Package.json`
"danger": "danger"
```

Then add a Dangerfile.js with some rules:
Then create a `dangerfile.js` in the project root with some rules:

```js
import { danger, fail } from "danger"

// warn on changes in Package.json and not in shrinkwrap
// Make sure there are changelog entries
const hasChangelog = danger.git.modified_files.includes("changelog.md")
if (!hasChangelog) {
fail("No Changelog changes!")
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "danger",
"version": "0.0.4",
"version": "0.0.5",
"description": "Automate your culture",
"main": "distribution/danger.js",
"bin": {
Expand Down

0 comments on commit 4c4e196

Please sign in to comment.