Commit d62d372
committed
fix: return proper error message when workspace is null in importModeWithRules
- Fixed error handling in importModeWithRules to return 'No workspace found' error instead of letting path.join() throw when workspace is null
- This fixes the failing unit test in CustomModesManager.spec.ts1 parent 2374a3d commit d62d372
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
629 | | - | |
| 628 | + | |
630 | 629 | | |
631 | 630 | | |
632 | 631 | | |
| |||
0 commit comments