Repository navigation
Commit b539715
authored
fix(workspace-source): count a key-taken refusal on a folder sent by its base in status (#10603)
* fix(workspace-source): keep a key-taken refusal on a workflow folder sent by its base in status counts
isFolderEvaluationFinding treated a shared-code finding pinned to a file as
compile/lint output. Since kindFinding defaults the file to the declaration,
a workspace E_NAME_TAKEN on an unchanged folder carried a file too, so status
dropped the error the apply refuses with. Folder evaluation findings always
carry a line; workspace findings never do, so key on the line.
* fix(workspace-source): key a folder-evaluation shared code on its line alone
Test that a shared code the compile pins to a line of a folder sent by its
base is still left out of status, and note at kindFinding that a shared code
never carries a line.1 parent 2b19744 commit b539715
3 files changed
Lines changed: 57 additions & 6 deletions
File tree
- apps/sim/lib/workspace-source/application
- packages
- sim-cli/src/commands/protocol
- workspace-code/src/diagnostics
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
647 | 672 | | |
648 | 673 | | |
649 | 674 | | |
| |||
670 | 695 | | |
671 | 696 | | |
672 | 697 | | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
673 | 722 | | |
674 | 723 | | |
675 | 724 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
362 | | - | |
363 | | - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
364 | 365 | | |
365 | | - | |
| 366 | + | |
366 | 367 | | |
367 | | - | |
| 368 | + | |
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
| |||
0 commit comments