mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) eslint-plugin-putout: one-line-destructuring
This commit is contained in:
parent
90cec0169f
commit
d93875b751
41 changed files with 83 additions and 236 deletions
|
|
@ -67,9 +67,7 @@ const push = currify((socket, key, value) => {
|
|||
});
|
||||
|
||||
function getHost(socket) {
|
||||
const {
|
||||
remoteAddress
|
||||
} = socket.request.connection;
|
||||
const {remoteAddress} = socket.request.connection;
|
||||
|
||||
const {
|
||||
name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue