Skip to content

Commit 75ee006

Browse files
committed
Merge pull request #4 from zhouwenbin/master
Update README.md
2 parents 75153ce + 6c308fa commit 75ee006

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ __component/button/button.html__
2222

2323
```javascript
2424
var posthtml = require('posthtml'),
25-
html = require('fs').writeFileSync('index.html').toString();
25+
html = require('fs').readFileSync('index.html').toString();
2626

2727
posthtml()
2828
.use(require('posthtml-include')({ encoding: 'utf-8' }))

0 commit comments

Comments
 (0)