Skip to content

Commit 0d2b91b

Browse files
committed
Update opa test command
Signed-off-by: Charlie Egan <charlieegan3@users.noreply.github.com>
1 parent 28e6877 commit 0d2b91b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/how_to_write_packages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Soon, Preflight will be able to run Rego tests inside Preflight packages (#26),
225225
However it is possible to run these tests directly with the [OPA command line](https://www.openpolicyagent.org/docs/latest/#running-opa):
226226

227227
```
228-
opa test ./preflight-packages/examples.jetstack.io/podsbestpractices
228+
opa test -v --explain=notes ./preflight-packages/examples.jetstack.io/podsbestpractices
229229
```
230230

231231
## Lint your packages
@@ -235,7 +235,7 @@ The Preflight command line has a built-in linter. This helps to make sure that t
235235
You can lint your package by running:
236236

237237
```
238-
preflight package lint ./preflight-packages/examples.jetstack.io/podsbestpractices
238+
preflight package lint ./preflight-packages/examples.jetstack.io/podsbestpractices
239239
```
240240

241241
## Configure Preflight to use your package

0 commit comments

Comments
 (0)