-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
bugSomething isn't workingSomething isn't workingextensionIssues related to one of the extensions in the StoreIssues related to one of the extensions in the Storeextension: day-oneIssues related to the day-one extensionIssues related to the day-one extension
Description
Extension
https://www.raycast.com/AntonNiklasson/day-one
Raycast Version
1.93.2
macOS Version
15.3.1
Description
Adding an entry when the journal name contains a space character causes an error.
I may be mistaken, as I'm not too familiar with TypeScript and bash, but I believe a quick fix would be to change this line, wrapping ${entry.journal} in quotation marks:
| command = `${command} --journal ${entry.journal}`; |
Steps To Reproduce
- Have a Day One journal with a space character in the title (multiple words).
- Open the "Add Entry" command in Raycast.
- Fill in all the fields and submit.
Current Behaviour
An error is thrown, saying "Journal does not exist".
Expected Behaviour
The journal entry should be created successfully (unless there are other errors, such as the body text being empty).
As of now, a workaround is to wrap the journal name in quotation marks when entering it into Raycast (i.e. "My Journal" instead of My Journal).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingextensionIssues related to one of the extensions in the StoreIssues related to one of the extensions in the Storeextension: day-oneIssues related to the day-one extensionIssues related to the day-one extension