[PR #1084] [MERGED] Bug: Cleanup script #3510

Closed
opened 2026-02-28 20:42:42 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/1084
Author: @shall0pass
Created: 6/1/2023
Status: Merged
Merged: 6/1/2023
Merged by: @j-f1

Base: masterHead: cleanup-crash


📝 Commits (3)

📊 Changes

2 files changed (+8 additions, -4 deletions)

View changed files

📝 packages/loot-core/src/server/budget/cleanup-template.ts (+2 -4)
upcoming-release-notes/1084.md (+6 -0)

📄 Description

The cleanup script could sometimes throw an error if 'sink' and 'source' were in the same category in the wrong order. This PR filters out the 'source' line if it exists and only uses the first 'sink' template line if it exists.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/1084 **Author:** [@shall0pass](https://github.com/shall0pass) **Created:** 6/1/2023 **Status:** ✅ Merged **Merged:** 6/1/2023 **Merged by:** [@j-f1](https://github.com/j-f1) **Base:** `master` ← **Head:** `cleanup-crash` --- ### 📝 Commits (3) - [`72d4194`](https://github.com/actualbudget/actual/commit/72d41946f893f2a6eb62bcfd17cef975413ad86b) initial commit - [`c92d606`](https://github.com/actualbudget/actual/commit/c92d606646f4bedb3970c3d378748f22d069680c) release note - [`3cbaac1`](https://github.com/actualbudget/actual/commit/3cbaac1c21773a0b87ea8d1009cd44dc4c821d50) lint ### 📊 Changes **2 files changed** (+8 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/budget/cleanup-template.ts` (+2 -4) ➕ `upcoming-release-notes/1084.md` (+6 -0) </details> ### 📄 Description The cleanup script could sometimes throw an error if 'sink' and 'source' were in the same category in the wrong order. This PR filters out the 'source' line if it exists and only uses the first 'sink' template line if it exists. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 20:42:42 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#3510