aboutsummaryrefslogtreecommitdiff
path: root/script_example_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-09-22 02:43:21 +0700
committerShulhan <ms@kilabit.info>2023-09-22 02:43:21 +0700
commitf720644d0baaaf91e41b2e0374437d5d1e70dd9a (patch)
tree2edf2364800cba565e0c71f1d44a709ae3fbc75d /script_example_test.go
parent0d0217abcd91f9c597eaf44cb639191e42290b5d (diff)
downloadawwan-f720644d0baaaf91e41b2e0374437d5d1e70dd9a.tar.xz
all: implement reading encrypted awwan environment ".awwan.env.vault"
Upon executing "local" or "play" comman, awwan now read the encrypted environment file .awwan.env.vault. The encrypted environment file is generated using "awwan encrypt" command.
Diffstat (limited to 'script_example_test.go')
-rw-r--r--script_example_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/script_example_test.go b/script_example_test.go
index 724dafd..def544a 100644
--- a/script_example_test.go
+++ b/script_example_test.go
@@ -28,7 +28,7 @@ end;
stmt []byte
)
- err = ses.loadEnvFromBytes([]byte(envContent))
+ err = ses.loadRawEnv([]byte(envContent))
if err != nil {
log.Fatal(err)
}