From 20cccc46b8114c24f4435e6b27982f708a4c2427 Mon Sep 17 00:00:00 2001 From: Jan Hovancik Date: Sat, 23 May 2026 11:38:59 +0200 Subject: [PATCH] Fix custom title handling for Mini break from command line --- CHANGELOG.md | 1 + app/main.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6589c207b..663f8d74c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] ### Fixed - fix crashes on system unlock +- fix custom title for Mini break from command line ## [1.21.0] - 2026-04-25 ### Added diff --git a/app/main.js b/app/main.js index 8984e3c73..c55ce1b45 100644 --- a/app/main.js +++ b/app/main.js @@ -143,7 +143,7 @@ if (!gotTheLock) { log.error('Stretchly: error parsing wait interval to ms because of invalid value') return } - if (cmd.options.title) nextIdea = [cmd.options.title] + if (cmd.options.title) nextIdea = cmd.options.title if (!cmd.options.noskip || delay) skipToMicrobreak(delay) break }