Skip to content

Commit

Permalink
caution against unneeded additional bullets (closes #52)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Oct 28, 2024
1 parent 1f39faf commit 256d8a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inst/prompts/cli-replace.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ c(
)
```

Do not add additional bullets if there's only one sentence in the error message.

If the current function call takes any of the arguments `call`, `body`, `footer`, `trace`, `parent`, or `.internal`, leave them as-is. Otherwise, do not pass any arguments to the function other than the message.

There may be some additional code surrounding the erroring code, defining variables etc. Do not include that code in the output, instead attempting to integrate it directly into cli substitutions.
Expand Down

0 comments on commit 256d8a3

Please sign in to comment.