Fix CLI usage with no pre-set context/config #910
Annotations
2 errors and 1 warning
internal/client/client_test.go#L1
Please run gofumpt.
diff --git a/internal/client/client_test.go b/internal/client/client_test.go
index 5538b42..f68bf5d 100644
--- a/internal/client/client_test.go
+++ b/internal/client/client_test.go
@@ -104,7 +104,7 @@ func TestGetCurrentTokenWithCLIOverrideWithoutSecretFile(t *testing.T) {
tmpDir, err := os.MkdirTemp("", "")
require.NoError(err)
configPath := path.Join(tmpDir, "config.json")
- err = os.WriteFile(configPath, []byte("{}"), 0600)
+ err = os.WriteFile(configPath, []byte("{}"), 0o600)
require.NoError(err)
configStore := &storage.JSONConfigStore{ConfigPath: tmpDir}
|
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The logs for this run have expired and are no longer available.
Loading