-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ng-dev): do not throw if there is no diff between
g3
and main
It seems like multimatch previously did not throw when it received an empty file path. We should never need to call multimatch with an empty path, avoiding the runtime error. To fix this, we just do not incorrectly try to derive diff information from an empty line if there is no diff (this was a brittle logic).
- Loading branch information
1 parent
0268158
commit 6c6c6b0
Showing
2 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters