Skip to content

Commit

Permalink
Update MIGRATING.md
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Ayers <sayers@buf.build>
  • Loading branch information
smaye81 committed Nov 13, 2024
1 parent cbe0af3 commit d2acd07
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,12 @@ files. An easy way to do this is to use the `clean` option provided by the
Buf CLI introduced in v1.36.0:

```diff
# buf.gen.yaml
version: v2
# buf.gen.yaml
version: v2
+ clean: true
plugins:
- local: protoc-gen-es
out: src/gen
plugins:
- local: protoc-gen-es
out: src/gen
```

With this option, `buf generate` will delete the contents of `src/gen` before
Expand Down

0 comments on commit d2acd07

Please sign in to comment.