mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 18:24:09 +03:00
🐎 Memoize version to prevent future IPC calls
This commit is contained in:
parent
9aee5adeb6
commit
6a7e4c30fb
@ -362,7 +362,7 @@ class Atom
|
||||
|
||||
# Public: Get the version of the Atom application.
|
||||
getVersion: ->
|
||||
app.getVersion()
|
||||
@version ?= app.getVersion()
|
||||
|
||||
# Public: Determine whether the current version is an official release.
|
||||
isReleasedVersion: ->
|
||||
|
Loading…
Reference in New Issue
Block a user