diff --git a/shared/compiler.go b/shared/compiler.go index 9865fa9..b345386 100644 --- a/shared/compiler.go +++ b/shared/compiler.go @@ -43,7 +43,7 @@ func Compile(args []string, compiler string) (exitCode int) { exitCode = 1 } - // Else try to build bitcode as well + // Else try to build bitcode as well } else { var bcObjLinks []bitcodeToObjectLink var newObjectFiles []string diff --git a/shared/logging.go b/shared/logging.go index 90c7c6c..8e3b6e1 100644 --- a/shared/logging.go +++ b/shared/logging.go @@ -51,10 +51,13 @@ func makeLogger(lvl int) func(format string, a ...interface{}) { //LogDebug logs to the configured stream if the logging level is DEBUG. var LogDebug = makeLogger(debugV) + //LogInfo logs to the configured stream if the logging level is INFO or lower. var LogInfo = makeLogger(infoV) + //LogWarning logs to the configured stream if the logging level is WARNING or lower. var LogWarning = makeLogger(warningV) + //LogError logs to the configured stream if the logging level is ERROR or lower. var LogError = makeLogger(errorV) diff --git a/shared/utils.go b/shared/utils.go index dbf5c60..3da4529 100644 --- a/shared/utils.go +++ b/shared/utils.go @@ -10,7 +10,7 @@ func execCmd(cmdExecName string, args []string, workingDir string) (success bool cmd := exec.Command(cmdExecName, args...) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr - cmd.Stdin = os.Stdin + cmd.Stdin = os.Stdin cmd.Dir = workingDir err = cmd.Run() success = (err == nil)