Skip to content

Commit 628597f

Browse files
authored
Merge pull request #1785 from hovancik/fix/mini-title
Fix custom title handling for Mini break from command line
2 parents 16f88fb + 20cccc4 commit 628597f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
## [Unreleased]
88
### Fixed
99
- fix crashes on system unlock
10+
- fix custom title for Mini break from command line
1011

1112
## [1.21.0] - 2026-04-25
1213
### Added

app/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ if (!gotTheLock) {
143143
log.error('Stretchly: error parsing wait interval to ms because of invalid value')
144144
return
145145
}
146-
if (cmd.options.title) nextIdea = [cmd.options.title]
146+
if (cmd.options.title) nextIdea = cmd.options.title
147147
if (!cmd.options.noskip || delay) skipToMicrobreak(delay)
148148
break
149149
}

0 commit comments

Comments
 (0)