1
0
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:
Massimo Candela
2019-11-28 21:25:33 +01:00
parent 55669f0306
commit cb1768bafa

View File

@@ -120,8 +120,8 @@ export default class InputYml extends Input {
};
validate = (fileContent) => {
let prefixesError;
let optionsError;
let prefixesError = [];
let optionsError = [];
const options = fileContent.options;