Skip to content

Commit

Permalink
docs: add --locked to cargo commands
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Jan 8, 2025
1 parent 10ed4ef commit 5cf2f8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ diff aware not enabled (error when receiving diff-aware data from Datadog with c
Export rulesets from the API into a file

```shell
cargo run --bin datadog-export-rulesets -- -r <ruleset> -o <file-to-export>
cargo run --locked --bin datadog-export-rulesets -- -r <ruleset> -o <file-to-export>
```

## More
Expand Down
2 changes: 1 addition & 1 deletion doc/owasp-benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ git clone https://github.com/DataDog/datadog-static-analyzer.git
Then, run it. At the top directory of the static analyzer, use

```
cargo run --release --bin datadog-static-analyzer -- --format sarif --output /path/to/BenchmarkJava/results/Benchmark_1.2-DatadogSast.sarif --directory /path/to/BenchmarkJava
cargo run --locked --release --bin datadog-static-analyzer -- --format sarif --output /path/to/BenchmarkJava/results/Benchmark_1.2-DatadogSast.sarif --directory /path/to/BenchmarkJava
```


Expand Down

0 comments on commit 5cf2f8a

Please sign in to comment.