summaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
authorKujtim Hoxha <[email protected]>2025-04-09 19:19:45 +0200
committerGitHub <[email protected]>2025-04-09 19:19:45 +0200
commit2af1bbb82852ebebb59ef431e5362c0f3993e5a0 (patch)
treecf20e499c14fb4fd6c1e56c99adc35626faead9c /main.go
parentb12ca55594c4a4c5cc0e81971df719a382f1f344 (diff)
parent635324d386d52e117efea6fcbe9dbf306ec75653 (diff)
downloadopencode-2af1bbb82852ebebb59ef431e5362c0f3993e5a0.tar.gz
opencode-2af1bbb82852ebebb59ef431e5362c0f3993e5a0.zip
Merge pull request #25 from kujtimiihoxha/cleanup-logs-status
Cleanup Logs and Status
Diffstat (limited to 'main.go')
-rw-r--r--main.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/main.go b/main.go
index cfd70f802..4bc8a22f0 100644
--- a/main.go
+++ b/main.go
@@ -1,21 +1,9 @@
package main
import (
- "log"
- "os"
-
"github.com/kujtimiihoxha/termai/cmd"
)
func main() {
- // Create a log file and make that the log output DEBUG
- // TODO: remove this on release
- logfile, err := os.OpenFile("debug.log", os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0o666)
- if err != nil {
- panic(err)
- }
-
- log.SetOutput(logfile)
-
cmd.Execute()
}