mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-03-18 21:57:50 +02:00
fixed typo
This commit is contained in:
parent
b024737ec8
commit
3bce173748
@ -82,7 +82,7 @@ func Register(app core.App, rootCmd *cobra.Command, options *Options) error {
|
||||
// watch for collection changes
|
||||
if p.options.Automigrate {
|
||||
if _, err := exec.LookPath(p.options.GitPath); err != nil {
|
||||
color.Yellow("WARNING: Automigrate cannot be enabled because %s is not installed or accessable.", p.options.GitPath)
|
||||
color.Yellow("WARNING: Automigrate cannot be enabled because %s is not installed or accessible.", p.options.GitPath)
|
||||
} else {
|
||||
p.app.OnModelAfterCreate().Add(p.onCollectionChange())
|
||||
p.app.OnModelAfterUpdate().Add(p.onCollectionChange())
|
||||
|
Loading…
x
Reference in New Issue
Block a user