mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
Refactor error handling and improve code readability in ServeSession and applyPatch
- Enhanced error logging in ServeSession by formatting warning messages for better clarity. - Improved readability in applyPatch by restructuring conditional statements for clarity. - Simplified assertions in tests for script pruning to maintain consistency and readability. These changes aim to improve code maintainability and enhance the clarity of error messages.
This commit is contained in:
parent
9820ec6534
commit
dcd48642be
5 changed files with 25 additions and 27 deletions
9
.cursor/hooks.json
Normal file
9
.cursor/hooks.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"version": 1,
|
||||
"hooks": {
|
||||
"stop": [
|
||||
{ "command": "cargo fmt" },
|
||||
{ "command": "stylua plugin/src" }
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue