File tree Expand file tree Collapse file tree 2 files changed +68
-60
lines changed
Expand file tree Collapse file tree 2 files changed +68
-60
lines changed Original file line number Diff line number Diff line change 9292 (when f
9393 (f result )))))))
9494
95- (fn M.file []
96- (event.emit :eval :file)
97- (let [opts {:file-path (fs.localise - path (extract.file - path ))
98- :origin :file
99- :action :eval}]
100- (set opts.preview (preview opts ))
101- (display - request opts )
102- (client.call
103- :eval-file
104- (with - on - result - hook opts ))))
105-
10695(fn assoc - context [opts ]
10796 (when (not opts.context )
10897 (set opts.context
142131
143132 (client.call f - name opts ))))
144133
134+ (fn M.file []
135+ (event.emit :eval :file)
136+ (let [opts {:file-path (fs.localise - path (extract.file - path ))
137+ :origin :file
138+ :action :eval}]
139+ (set opts.preview (preview opts ))
140+ ((client - exec - fn :eval :eval-file)
141+ (if opts.passive ?
142+ opts
143+ (with - on - result - hook opts )))
144+ nil ))
145+
145146(fn apply - gsubs [code ]
146147 (when code
147148 (core.reduce
You can’t perform that action at this time.
0 commit comments