Skip to content

Commit 6d622b2

Browse files
committed
Run prettier on lib_src
1 parent c7915b0 commit 6d622b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+4301
-3636
lines changed

lib_src/connection.ts

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,70 +4,70 @@
44
* DS207: Consider shorter variations of null checks
55
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
66
*/
7-
import { time } from './misc';
8-
import externalTerminal from './connection/terminal';
7+
import { time } from "./misc"
8+
import externalTerminal from "./connection/terminal"
99

1010
export default {
11-
IPC: require('./connection/ipc'),
12-
messages: require('./connection/messages'),
13-
client: require('./connection/client'),
14-
local: require('./connection/local'),
15-
terminal: require('./connection/terminal'),
11+
IPC: require("./connection/ipc"),
12+
messages: require("./connection/messages"),
13+
client: require("./connection/client"),
14+
local: require("./connection/local"),
15+
terminal: require("./connection/terminal"),
1616

1717
activate() {
18-
this.messages.activate();
19-
this.client.activate();
20-
this.client.boot = () => this.boot();
21-
this.local.activate();
22-
return this.booting = false;
18+
this.messages.activate()
19+
this.client.activate()
20+
this.client.boot = () => this.boot()
21+
this.local.activate()
22+
return (this.booting = false)
2323
},
2424

2525
deactivate() {
26-
return this.client.deactivate();
26+
return this.client.deactivate()
2727
},
2828

2929
consumeInk(ink) {
30-
this.IPC.consumeInk(ink);
31-
return this.ink = ink;
30+
this.IPC.consumeInk(ink)
31+
return (this.ink = ink)
3232
},
3333

3434
consumeGetServerConfig(getconf) {
35-
return this.local.consumeGetServerConfig(getconf);
35+
return this.local.consumeGetServerConfig(getconf)
3636
},
3737

3838
consumeGetServerName(name) {
39-
return this.local.consumeGetServerName(name);
39+
return this.local.consumeGetServerName(name)
4040
},
4141

4242
_boot(provider) {
4343
if (!this.client.isActive() && !this.booting) {
44-
let p;
45-
this.booting = true;
46-
this.client.setBootMode(provider);
47-
if (provider === 'External Terminal') {
48-
p = externalTerminal.connectedRepl();
44+
let p
45+
this.booting = true
46+
this.client.setBootMode(provider)
47+
if (provider === "External Terminal") {
48+
p = externalTerminal.connectedRepl()
4949
} else {
50-
p = this.local.start(provider);
50+
p = this.local.start(provider)
5151
}
5252

5353
if (this.ink != null) {
54-
this.ink.Opener.allowRemoteFiles(provider === 'Remote');
54+
this.ink.Opener.allowRemoteFiles(provider === "Remote")
5555
}
5656
p.then(() => {
57-
return this.booting = false;
58-
});
57+
return (this.booting = false)
58+
})
5959
p.catch(() => {
60-
return this.booting = false;
61-
});
62-
return time("Julia Boot", this.client.import('ping')());
60+
return (this.booting = false)
61+
})
62+
return time("Julia Boot", this.client.import("ping")())
6363
}
6464
},
6565

6666
bootRemote() {
67-
return this._boot('Remote');
67+
return this._boot("Remote")
6868
},
6969

7070
boot() {
71-
return this._boot(atom.config.get('julia-client.juliaOptions.bootMode'));
71+
return this._boot(atom.config.get("julia-client.juliaOptions.bootMode"))
7272
}
73-
};
73+
}

0 commit comments

Comments
 (0)