Skip to content

Commit

Permalink
fix json readme (#130)
Browse files Browse the repository at this point in the history
Co-authored-by: Tate <tate@transcriptic.com>
  • Loading branch information
tatethurston and Tate authored Feb 16, 2022
1 parent a4d83f9 commit 51eb20a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ TypeScript projects will generally want to set this value to match their `rootDi
// twirp.json
```json
{
exclude: ["/bar/"]
"exclude": ["/bar/"]
}
```
Expand Down Expand Up @@ -663,7 +663,7 @@ TypeScript projects will generally want to set this value to match their `rootDi
// twirp.json
```json
{
dest: 'out',
"dest": "out",
}
```
Expand All @@ -684,8 +684,8 @@ TypeScript projects will generally want to set this value to match their `rootDi
// twirp.json
```json
{
root: 'src',
dest: 'out',
"root": "src",
"dest": "out",
}
```
Expand Down
10 changes: 5 additions & 5 deletions src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type Config = {
* // twirp.json
* ```json
* {
* root: "src"
* "root": "src"
* }
* ```
*
Expand Down Expand Up @@ -88,7 +88,7 @@ type Config = {
* // twirp.json
* ```json
* {
* exclude: ["/bar/"]
* "exclude": ["/bar/"]
* }
* ```
*
Expand Down Expand Up @@ -121,7 +121,7 @@ type Config = {
*
* // twirp.json
* {
* dest: 'out',
* "dest": "out",
* }
*
* /src
Expand All @@ -138,8 +138,8 @@ type Config = {
*
* // twirp.json
* {
* root: 'src',
* dest: 'out',
* "root": "src",
* "dest": "out",
* }
*
* /src
Expand Down

0 comments on commit 51eb20a

Please sign in to comment.