File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ inputs:
6666 required : false
6767 POLLING_TIMEOUT :
6868 description : >
69- Stop polling the scan result after the specified time in milliseconds , default is 5 minutes.
69+ Stop polling the scan result after the specified time in seconds , default is 5 minutes.
7070 required : false
7171runs :
7272 using : ' node20'
Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ function run() {
112112 if ( isNaN ( parsed_polling_timeout ) ) {
113113 throw new Error ( "POLLING_TIMEOUT must be a number" ) ;
114114 }
115- if ( parsed_polling_timeout < 0 ) {
116- throw new Error ( "POLLING_TIMEOUT must be greater or equal to 0" ) ;
115+ if ( parsed_polling_timeout <= 0 ) {
116+ throw new Error ( "POLLING_TIMEOUT must be greater than 0" ) ;
117117 }
118118 }
119119 // Validate severity levels
Original file line number Diff line number Diff line change @@ -132,8 +132,8 @@ async function run() {
132132 if ( isNaN ( parsed_polling_timeout ) ) {
133133 throw new Error ( "POLLING_TIMEOUT must be a number" ) ;
134134 }
135- if ( parsed_polling_timeout < 0 ) {
136- throw new Error ( "POLLING_TIMEOUT must be greater or equal to 0" ) ;
135+ if ( parsed_polling_timeout <= 0 ) {
136+ throw new Error ( "POLLING_TIMEOUT must be greater than 0" ) ;
137137 }
138138 }
139139
You can’t perform that action at this time.
0 commit comments