-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: check the file type being uploaded before performing upload (#2584)
Check the file type being uploaded before performing upload use typeguards to properly narrow types for conditional logic --------- Signed-off-by: Martin Musale <martinmusale@microsoft.com> Co-authored-by: Nickii Miaro <miaronkirote@gmail.com> Co-authored-by: Gavin Barron <gavinbarron@microsoft.com>
- Loading branch information
1 parent
3106969
commit 7fb265c
Showing
1 changed file
with
15 additions
and
14 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