Skip to content

Commit

Permalink
Merge pull request #14 from HugoGiraudel/patch-1
Browse files Browse the repository at this point in the history
Fixed incorrect example in README.md
  • Loading branch information
kevinbeaty committed Jul 28, 2016
2 parents 640e4a1 + 254ae96 commit da24bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -6,9 +6,9 @@
```javascript
var fsp = require('fs-promise');

fsp.writeFile('/tmp/hello1.txt'), 'hello world')
fsp.writeFile('/tmp/hello1.txt', 'hello world')
.then(function(){
return fsp.readFile('/tmp/hello1.txt'), {encoding:'utf8'});
return fsp.readFile('/tmp/hello1.txt', {encoding:'utf8'});
})
.then(function(contents){});
```
Expand Down

0 comments on commit da24bc7

Please sign in to comment.