mirror of
https://github.com/pockethost/pockethost.git
synced 2025-05-11 18:29:54 +00:00
chore: FtpService logging and code formatting enhancements
This commit is contained in:
parent
4797706605
commit
ecc4d02a21
@ -77,12 +77,13 @@ export const ftpService = mkSingleton((config: FtpConfig) => {
|
|||||||
resolve({ fs })
|
resolve({ fs })
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
reject(new Error(`Invalid username or password`))
|
reject(new Error(`Invalid username or password`))
|
||||||
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
ftpServer.listen().then(() => {
|
ftpServer.listen().then(() => {
|
||||||
info('Ftp server is starting...')
|
info('Ftp server started...')
|
||||||
})
|
})
|
||||||
|
|
||||||
const shutdown = () => {
|
const shutdown = () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user