Skip to content

Commit

Permalink
chore: watch-dir -> config-dir & end file with newline
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Stockton committed Sep 18, 2024
1 parent b403a0b commit 06d9327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/root_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var rootCmd = cobra.Command{
func RootCommand() *cobra.Command {
rootCmd.AddCommand(&serveCmd, &migrateCmd, &versionCmd, adminCmd())
rootCmd.PersistentFlags().StringVarP(&configFile, "config", "c", "", "base configuration file to load")
rootCmd.PersistentFlags().StringVarP(&watchDir, "watch-dir", "w", "", "directory containing a sorted list of config files to watch for changes")
rootCmd.PersistentFlags().StringVarP(&watchDir, "config-dir", "d", "", "directory containing a sorted list of config files to watch for changes")
return &rootCmd
}

Expand Down
2 changes: 1 addition & 1 deletion internal/reloader/testdata/50_example.env
Original file line number Diff line number Diff line change
Expand Up @@ -232,4 +232,4 @@ GOTRUE_HOOK_CUSTOM_SMS_PROVIDER_SECRET=""

# Test OTP Config
GOTRUE_SMS_TEST_OTP="<phone-1>:<otp-1>, <phone-2>:<otp-2>..."
GOTRUE_SMS_TEST_OTP_VALID_UNTIL="2050-01-01T01:00:00Z" # (e.g. 2023-09-29T08:14:06Z)
GOTRUE_SMS_TEST_OTP_VALID_UNTIL="2050-01-01T01:00:00Z" # (e.g. 2023-09-29T08:14:06Z)

0 comments on commit 06d9327

Please sign in to comment.