Skip to content

Commit

Permalink
Make doctoc work properly on Windows
Browse files Browse the repository at this point in the history
cmd doesn't like newline characters in arguments.
  • Loading branch information
fatfisz committed May 27, 2018
1 parent 5e545b6 commit 488d7b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"build:es": "cross-env BABEL_ENV=es babel src -d es --ignore *.test.js",
"build:unpkg": "cross-env BABEL_ENV=es rollup --config",
"codecov": "codecov",
"doctoc": "doctoc readme.md --title \"\n## Table of Contents\"",
"doctoc": "doctoc readme.md --title \"## Table of Contents\"",
"lint": "eslint .*rc.js src/**/*.js --ignore-pattern '!.*rc.js'",
"lint:fix": "eslint --fix .*rc.js src/**/*.js --ignore-pattern '!.*rc.js'",
"prerelease": "npm run build",
Expand Down
1 change: 0 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ html`

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

## Table of Contents

- [Introduction](#introduction)
Expand Down

0 comments on commit 488d7b0

Please sign in to comment.