File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ export function activate (_ink) {
67
67
modules . onDidChange ( debounce ( ( ) => changemodule ( { mod : modules . current ( ) } ) , 200 ) )
68
68
69
69
client . handle ( {
70
- updateWorkspace : ( ) => require ( './workspace' ) . update ( ) ,
71
70
clearconsole : ( ) => terminal . clear ( ) ,
72
71
cursorpos : ( ) => terminal . cursorPosition ( ) ,
73
72
writeToTerminal : ( str ) => {
Original file line number Diff line number Diff line change @@ -43,13 +43,14 @@ export function consumeStatusBar (statusBar) {
43
43
const onClick = ( event ) => {
44
44
if ( process . platform === 'darwin' ? event . metaKey : event . ctrlKey ) {
45
45
if ( ! fs . existsSync ( projectPath ) ) return
46
+ const pending = atom . config . get ( 'core.allowPendingPaneItems' )
46
47
if ( ink ) {
47
48
ink . Opener . open ( projectPath , {
48
- pending : atom . config . get ( 'core.allowPendingPaneItems' )
49
+ pending,
49
50
} )
50
51
} else {
51
52
atom . workspace . open ( projectPath , {
52
- pending : atom . config . get ( 'core.allowPendingPaneItems' ) ,
53
+ pending,
53
54
searchAllPanes : true
54
55
} )
55
56
}
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ module.exports =
11
11
activate : ->
12
12
@ create ()
13
13
14
+ client .handle { updateWorkspace : => @ update () }
14
15
client .onDetached =>
15
16
@ws .setItems []
16
17
@lazyTrees = []
You can’t perform that action at this time.
0 commit comments