From 6a7e4c30fb2f3f3bf8bf63a31b121e6170bf3988 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 13 Dec 2013 14:49:23 -0800 Subject: [PATCH] :racehorse: Memoize version to prevent future IPC calls --- src/atom.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atom.coffee b/src/atom.coffee index a2f3d2df2..8a733894e 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -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: ->