Skip to content

Commit 6c308fa

Browse files
committed
Update README.md
1 parent 75153ce commit 6c308fa

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)