mirror of
https://github.com/nttgin/BGPalerter.git
synced 2024-05-19 06:50:08 +00:00
solved error in case of missing options in prefixes.yml
This commit is contained in:
@@ -120,8 +120,8 @@ export default class InputYml extends Input {
|
||||
};
|
||||
|
||||
validate = (fileContent) => {
|
||||
let prefixesError;
|
||||
let optionsError;
|
||||
let prefixesError = [];
|
||||
let optionsError = [];
|
||||
|
||||
const options = fileContent.options;
|
||||
|
||||
|
Reference in New Issue
Block a user