Skip to content

Commit

Permalink
fix example command after generating schedule (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
jannisko authored Jan 14, 2025
1 parent b4ca273 commit 3136ccf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion loco-gen/src/templates/scheduler/scheduler.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
to: "config/scheduler.yaml"
skip_exists: true
message: "A Scheduler job configuration was added successfully. Run with `cargo loco run scheduler --list`."
message: "A Scheduler job configuration was added successfully. Run with `cargo loco scheduler --list`."

---
output: stdout
Expand Down
2 changes: 1 addition & 1 deletion loco-gen/tests/templates/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn can_generate() {

assert_eq!(
collect_messages(&gen_result),
r"* A Scheduler job configuration was added successfully. Run with `cargo loco run scheduler --list`.
r"* A Scheduler job configuration was added successfully. Run with `cargo loco scheduler --list`.
"
);

Expand Down

0 comments on commit 3136ccf

Please sign in to comment.