mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #488] [MERGED] Standardise & simplify code #907
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#907
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/desktop/pull/488
Author: @webfiltered
Created: 12/14/2024
Status: ✅ Merged
Merged: 12/16/2024
Merged by: @huchenlei
Base:
main← Head:eslint-clean📝 Commits (7)
0d1cbaenit - Standardise imports6962a41nit - Doc819b1b8nit - Standardise error var namesbf2a38fnit - Standardise utf8 namedfb2c05[Refactor] Simplify code - prefer spread, for-of47a96fb[Refactor] Assorted ESLint nits86b1365Fix test import / mock📊 Changes
21 files changed (+79 additions, -80 deletions)
View changed files
📝
scripts/env.mjs(+1 -1)📝
src/config/comfyConfigManager.ts(+4 -4)📝
src/config/comfyServerConfig.ts(+7 -6)📝
src/config/comfySettings.ts(+3 -3)📝
src/handlers/pathHandlers.ts(+2 -2)📝
src/install/installWizard.ts(+2 -2)📝
src/install/installationValidator.ts(+1 -1)📝
src/install/resourcePaths.ts(+1 -1)📝
src/main-process/comfyDesktopApp.ts(+9 -12)📝
src/main-process/comfyServer.ts(+9 -9)📝
src/main.ts(+2 -2)📝
src/models/DownloadManager.ts(+3 -3)📝
src/preload.ts(+1 -1)📝
src/services/backup.ts(+8 -8)📝
src/shell/terminal.ts(+1 -1)📝
src/shell/util.ts(+1 -1)📝
src/store/desktopConfig.ts(+2 -1)📝
src/utils.ts(+7 -7)📝
src/virtualEnvironment.ts(+11 -11)📝
tests/unit/comfyConfigManager.test.ts(+2 -2)...and 1 more files
📄 Description
errorfor error var🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.