refactor: remove unnecessary whitespace in SFTP service methods for cleaner code
This commit is contained in:
parent
2915b2c689
commit
a4f4078551
@ -154,14 +154,14 @@ class SFTPService {
|
||||
readStream.on('error', (err) => {
|
||||
writeStream.destroy();
|
||||
conn.end();
|
||||
fs.unlink(localPath, () => {});
|
||||
fs.unlink(localPath, () => { });
|
||||
reject(err);
|
||||
});
|
||||
|
||||
writeStream.on('error', (err) => {
|
||||
readStream.destroy();
|
||||
conn.end();
|
||||
fs.unlink(localPath, () => {});
|
||||
fs.unlink(localPath, () => { });
|
||||
reject(err);
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user