Skip to content

Commit

Permalink
Fix friday checker
Browse files Browse the repository at this point in the history
  • Loading branch information
pfreitag authored Oct 2, 2023
1 parent 44ec1f0 commit 8f0f7c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/task-runners/friday.cfc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
component {
function run() {
var dayName = dayOfWeekAsString(dayOfWeek(now()));
if ( dayName == "Monday") {
if ( dayName == "Friday") {
error("Sorry no changes on Friday!")
} else {
print.greenLine("Ok, it is #dayName# - all good!");
Expand Down

0 comments on commit 8f0f7c7

Please sign in to comment.