Closed bsutton closed 4 years ago
settings['host'] = ask( 'host:', defaultValue: settings['host'] as String, validator: Ask.any([ Ask.fqdn, Ask.ipAddress(), Ask.inList(['localhost', '127.0.0.1']) ])); );
If you enter 127.0.0.1 then the any method throws an error Invalid FQDN.
resolved in 0.25.
settings['host'] = ask( 'host:', defaultValue: settings['host'] as String, validator: Ask.any([ Ask.fqdn, Ask.ipAddress(), Ask.inList(['localhost', '127.0.0.1']) ])); );
If you enter 127.0.0.1 then the any method throws an error Invalid FQDN.