Fix broken comment

This commit is contained in:
David Dworken 2024-10-19 04:37:28 -07:00
parent 06424dfca8
commit 5996b832a3
No known key found for this signature in database

View File

@ -45,7 +45,7 @@ var installCmd = &cobra.Command{
if strings.HasPrefix(secretKey, "-") {
lib.CheckFatalError(fmt.Errorf("secret key %#v looks like a CLI flag, please use a secret key that does not start with a -", secretKey))
}
// TODO: Add a check to crash if secretKey looks like a flag lib.CheckFatalError(install(secretKey, *offlineInstall, *skipConfigModification))
lib.CheckFatalError(install(secretKey, *offlineInstall, *skipConfigModification))
if os.Getenv("HISHTORY_SKIP_INIT_IMPORT") == "" {
db, err := hctx.OpenLocalSqliteDb()
lib.CheckFatalError(err)