code refactoring

This commit is contained in:
Toki 2023-11-08 20:41:26 +09:00
parent 1d23272ea3
commit a26f093a1c
2 changed files with 5 additions and 8 deletions

View file

@ -67,6 +67,5 @@ class _CommandConstantWindows extends _CommandConstantBase {
@override
String get installFilePath {
return '$installPath${CLI.serviceName}.exe';
;
}
}

View file

@ -258,13 +258,11 @@ brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Librar
*************************************************************************/
class SFTP extends FTP {
SFTP(String host,
{int port = 22,
String user = 'anonymous',
String password = '',
int timeout = 30})
: super(host,
port: port, user: user, password: password, timeout: timeout);
SFTP(super.host,
{super.port = 22,
super.user,
super.password,
super.timeout});
@override
Future<void> connect() async {}