From ea249777ddc1129b1bca64d165b85a5eb06e5985 Mon Sep 17 00:00:00 2001 From: Lee Dohm <1038121+lee-dohm@users.noreply.github.com> Date: Sun, 10 Sep 2017 13:32:02 -0700 Subject: [PATCH] Make the atom.getReleaseChannel function public --- src/atom-environment.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/atom-environment.coffee b/src/atom-environment.coffee index b37acddd1..a6558ab17 100644 --- a/src/atom-environment.coffee +++ b/src/atom-environment.coffee @@ -445,7 +445,9 @@ class AtomEnvironment extends Model getVersion: -> @appVersion ?= @getLoadSettings().appVersion - # Returns the release channel as a {String}. Will return one of `'dev', 'beta', 'stable'` + # Public: Gets the release channel of the Atom application. + # + # Returns the release channel as a {String}. Will return one of `dev`, `beta`, or `stable`. getReleaseChannel: -> version = @getVersion() if version.indexOf('beta') > -1