You've already forked pocketbase
mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-11-26 16:12:13 +02:00
added .cmd() as alias for .exec()
This commit is contained in:
@@ -549,7 +549,8 @@ func osBinds(vm *goja.Runtime) {
|
||||
vm.Set("$os", obj)
|
||||
|
||||
obj.Set("args", os.Args)
|
||||
obj.Set("exec", exec.Command)
|
||||
obj.Set("exec", exec.Command) // @deprecated
|
||||
obj.Set("cmd", exec.Command)
|
||||
obj.Set("exit", os.Exit)
|
||||
obj.Set("getenv", os.Getenv)
|
||||
obj.Set("dirFS", os.DirFS)
|
||||
|
||||
Reference in New Issue
Block a user