Compare commits

...

2 Commits

Author SHA1 Message Date
378ab4c026 renamed distribution directory 2025-08-29 12:13:10 +02:00
5485517150 fix lunch duration calculation 2025-08-29 12:06:33 +02:00
3 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View File

@@ -1,3 +1,3 @@
target/
deploy/
dist/
*.class

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env bash
set -uo pipefail
if [[ -d deploy/ ]]; then
rm -r deploy/;
if [[ -d dist/ ]]; then
rm -r dist/;
fi
cp -r target/ deploy/;
cp -r target/ dist/;

View File

@@ -93,7 +93,7 @@ public interface WorkdayLoadingBar {
private long getMinLunchDuration(int endTimeOffset) {
if (endTimeOffset <= 0) {
if (endTimeOffset >= 0) {
return MIN_LUNCH_DURATION;
}
long totalDuration = MAX_NUMBER_WORK_MINS + endTimeOffset;