Skip to content

Commit

Permalink
Fix formatter docs (#2569)
Browse files Browse the repository at this point in the history
Describe using quotes around wild card pattern to make sure it is not
partially resolved by `bash`

Related: #2568
  • Loading branch information
timotheeguerin authored Oct 13, 2023
1 parent f110040 commit 1599bdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/introduction/formatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ TypeSpec comes with a built-in formatter. The formatter can be used in different
Format all typespec files:

```bash
tsp format **/*.tsp
tsp format "**/*.tsp"
```

Validate that the files are formatted but don't format them. Useful for enforcing in CI.

```bash
tsp format --check **/*.tsp
tsp format --check "**/*.tsp"
```

## Via the VSCode or VS extension
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ TypeSpec comes with a built-in formatter. The formatter can be used in different
Format all typespec files:

```bash
tsp format **/*.tsp
tsp format "**/*.tsp"
```

Validate that the files are formatted but don't format them. Useful for enforcing in CI.

```bash
tsp format --check **/*.tsp
tsp format --check "**/*.tsp"
```

## Via the VSCode or VS extension
Expand Down

0 comments on commit 1599bdd

Please sign in to comment.