From d6987ee05be8b5da279e530cfd65512cb903c72b Mon Sep 17 00:00:00 2001 From: Atin <61903527+atin@users.noreply.github.com> Date: Wed, 19 May 2021 10:42:09 +0530 Subject: chore: fix typos in code comments (#6556) --- internal/conf/computed.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/conf/computed.go') diff --git a/internal/conf/computed.go b/internal/conf/computed.go index 64eb322d..95acf64f 100644 --- a/internal/conf/computed.go +++ b/internal/conf/computed.go @@ -53,7 +53,7 @@ var ( workDirOnce sync.Once ) -// WorkDir returns the absolute path of work directory. It reads the value of envrionment +// WorkDir returns the absolute path of work directory. It reads the value of environment // variable GOGS_WORK_DIR. When not set, it uses the directory where the application's // binary is located. func WorkDir() string { @@ -75,8 +75,8 @@ var ( ) // CustomDir returns the absolute path of the custom directory that contains local overrides. -// It reads the value of envrionment variable GOGS_CUSTOM. When not set, it uses the work -// directory returned by WorkDir fucntion. +// It reads the value of environment variable GOGS_CUSTOM. When not set, it uses the work +// directory returned by WorkDir function. func CustomDir() string { customDirOnce.Do(func() { customDir = os.Getenv("GOGS_CUSTOM") -- cgit v1.2.3