Skip to content
This repository was archived by the owner on Jun 11, 2021. It is now read-only.

Commit 49be651

Browse files
committed
Breaking Change: Move files to vendor/modules
1 parent b709fae commit 49be651

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@
1414
.DS_Store
1515

1616
# Terrafile output
17-
vendor/xterrafile
17+
vendor/modules
1818
xterrafile
19+
20+
# Don't ignore the beautiful code
21+
!pkg/xterrafile

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func init() {
6666
cobra.OnInitialize(initConfig)
6767
}
6868
rootCmd.PersistentFlags().StringVarP(&cfgFile, "file", "f", "Terrafile", "config file")
69-
rootCmd.PersistentFlags().StringVarP(&VendorDir, "directory", "d", "vendor/xterrafile", "module directory")
69+
rootCmd.PersistentFlags().StringVarP(&VendorDir, "directory", "d", "vendor/modules", "module directory")
7070
}
7171

7272
// initConfig reads in config file and ENV variables if set.

0 commit comments

Comments
 (0)