add results from rebuilding
This commit is contained in:
+3
-1
@@ -106,7 +106,9 @@ function main() {
|
|||||||
version: '0.0.1'
|
version: '0.0.1'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else if (detectorName === '' || detectorUrl === '' || detectorVersion === '') {
|
else if (detectorName === '' ||
|
||||||
|
detectorUrl === '' ||
|
||||||
|
detectorVersion === '') {
|
||||||
// if any of detectorName, detectorUrl, or detectorVersion have value, then they are all required
|
// if any of detectorName, detectorUrl, or detectorVersion have value, then they are all required
|
||||||
throw new Error("Invalid input: if any of 'detector-name', 'detector-url', or 'detector-version' have value, then thay are all required.");
|
throw new Error("Invalid input: if any of 'detector-name', 'detector-url', or 'detector-version' have value, then thay are all required.");
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user