File tree Expand file tree Collapse file tree 4 files changed +2
-4
lines changed
Expand file tree Collapse file tree 4 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 22
33on :
44 push :
5- branches : [develop ]
5+ branches : [main ]
66 pull_request :
77
88jobs :
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Semgrep
33
44on :
55 pull_request :
6- branches : ['develop ']
6+ branches : ['main ']
77
88 # Schedule the CI job (this method uses cron syntax):
99 schedule :
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ export default function error(type) {
4949export function isValidStrict ( type ) {
5050 let valid = false ;
5151
52- // eslint-disable-next-line no-restricted-syntax
5352 for ( const i in errors ) {
5453 if ( Object . prototype . hasOwnProperty . call ( errors , i ) && errors [ i ] === type ) {
5554 valid = true ;
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ describe('.parse() error', () => {
2525 expect ( parser . parse ( '#N/A' ) ) . toMatchObject ( { error : '#N/A' , result : null } ) ;
2626 expect ( parser . parse ( '#N/A!' ) ) . toMatchObject ( { error : '#ERROR!' , result : null } ) ;
2727 expect ( parser . parse ( '#N/A?' ) ) . toMatchObject ( { error : '#ERROR!' , result : null } ) ;
28- /* eslint-disable no-useless-escape */
2928 expect ( parser . parse ( '#NA' ) ) . toMatchObject ( { error : '#ERROR!' , result : null } ) ;
3029 } ) ;
3130
You can’t perform that action at this time.
0 commit comments