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 c999041 commit 1640e0cCopy full SHA for 1640e0c
provisionersdk/archive_test.go
@@ -220,7 +220,7 @@ func TestUntar(t *testing.T) {
220
require.NoError(t, err)
221
_ = file.Close()
222
223
- err = os.WriteFile(file.Name(), []byte("# ab"), 0600)
+ err = os.WriteFile(file.Name(), []byte("# ab"), 0o600)
224
225
226
archive := new(bytes.Buffer)
@@ -234,7 +234,7 @@ func TestUntar(t *testing.T) {
234
235
236
// 4. Modify the .tf file
237
- err = os.WriteFile(file.Name(), []byte("# c"), 0600)
+ err = os.WriteFile(file.Name(), []byte("# c"), 0o600)
238
239
240
// 5. Build tar archive with modified .tf file
0 commit comments