-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: adding warning when pushing monitors from yaml files (#977)
* package.json - added dependency 'utf-8-validate' * monitor.ts - Added validation and warnings - Validation/warning prior to UTF-8 decoding of files - warning when a 'browser' type monitor is ignored - removing unused variable (causing linter error) * Update src/push/monitor.ts changing warning text Co-authored-by: Vignesh Shanmugam <[email protected]> * src/push/monitor.ts - using node standard libarary to test utf-8 encoding - updated types@node to be more in line with current version * Update src/push/monitor.ts - updating warning message. Co-authored-by: Vignesh Shanmugam <[email protected]> * fix node type and message --------- Co-authored-by: Vignesh Shanmugam <[email protected]>
- Loading branch information
1 parent
79fe27d
commit cf9d891
Showing
3 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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