We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b95979b commit 1e04d75Copy full SHA for 1e04d75
main.go
@@ -3,7 +3,6 @@ package main
3
import (
4
"log"
5
"os"
6
- "path/filepath"
7
8
"github.com/terrable-dev/terrable/config"
9
"github.com/terrable-dev/terrable/offline"
@@ -20,8 +19,8 @@ func main() {
20
19
Name: "offline",
21
Usage: "",
22
Action: func(cCtx *cli.Context) error {
23
- executablePath, _ := os.Executable()
24
- tomlConfig, _ := config.ParseTerrableToml(filepath.Dir(executablePath))
+ executablePath, _ := os.Getwd()
+ tomlConfig, _ := config.ParseTerrableToml(executablePath)
25
26
filePath := cCtx.String("file")
27
moduleName := cCtx.String("module")
terrable_build
@@ -1 +1 @@
1
-version = 0.1.3
+version = 0.1.4
0 commit comments