mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-04 02:57:26 +01:00
fixed typo
This commit is contained in:
1 parent
b024737ec8
commit
3bce173748
1 file changed
+1
-1
@@ -82,7 +82,7 @@ func Register(app core.App, rootCmd *cobra.Command, options *Options) error {
|
|||||||
// watch for collection changes
|
// watch for collection changes
|
||||||
if p.options.Automigrate {
|
if p.options.Automigrate {
|
||||||
if _, err := exec.LookPath(p.options.GitPath); err != nil {
|
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 {
|
} else {
|
||||||
p.app.OnModelAfterCreate().Add(p.onCollectionChange())
|
p.app.OnModelAfterCreate().Add(p.onCollectionChange())
|
||||||
p.app.OnModelAfterUpdate().Add(p.onCollectionChange())
|
p.app.OnModelAfterUpdate().Add(p.onCollectionChange())
|
||||||
|
|||||||
Reference in new issue
Block a user