diff --git a/install/generator-cyphernode/generators/app/index.js b/install/generator-cyphernode/generators/app/index.js index ff169a5..043201f 100644 --- a/install/generator-cyphernode/generators/app/index.js +++ b/install/generator-cyphernode/generators/app/index.js @@ -112,7 +112,7 @@ module.exports = class extends Generator { } _colorValidator(color) { - if( !validator.isHexColor(color) ) { + if( !validator.isHexadecimal(color) ) { throw new Error('Not a hex color.'); } return true;