Skip to content

Commit 3a75ff2

Browse files
committed
do initization tasks in Julia
1 parent 2a7f504 commit 3a75ff2

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/runtime/environments.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { CompositeDisposable, Disposable } from 'atom'
66
import { client } from '../connection'
77
import { show } from '../ui/selector'
88

9-
const { allProjects, updateProject, activateProject } =
10-
client.import({ rpc: ['allProjects', 'updateProject'], msg: ['activateProject'] })
9+
const { allProjects, activateProject } = client.import({ rpc: ['allProjects'], msg: ['activateProject'] })
1110

1211
let ink
1312
export function consumeInk (_ink) {
@@ -37,7 +36,6 @@ export function consumeStatusBar (statusBar) {
3736
projectPath = proj.path
3837
showTile()
3938
}
40-
4139
client.handle({ updateProject: updateTile })
4240

4341
const onClick = (event) => {
@@ -88,11 +86,6 @@ export function consumeStatusBar (statusBar) {
8886

8987
dom.addEventListener('click', onClick)
9088
subs.add(
91-
client.onAttached(() => {
92-
updateProject()
93-
.then(updateTile)
94-
.catch(err => console.log(err))
95-
}),
9689
client.onDetached(hideTile),
9790
atom.tooltips.add(dom, { title }),
9891
tilesub

0 commit comments

Comments
 (0)