mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-18 13:07:58 +00:00
Changed script file extension
This commit is contained in:
parent
b0d3e31378
commit
d1ce48c773
@ -47,7 +47,7 @@ func (a *App) ExecuteShellScript(hostKey, dbKey, collKey, script string) (result
|
||||
}
|
||||
|
||||
dirname := path.Join(a.Env.DataDirectory, "Shell Scripts")
|
||||
fname := path.Join(dirname, fmt.Sprintf("%s.js", id.String()))
|
||||
fname := path.Join(dirname, fmt.Sprintf("%s.mongosh.js", id.String()))
|
||||
|
||||
if err := os.MkdirAll(dirname, os.ModePerm); err != nil {
|
||||
runtime.LogWarningf(a.ctx, "Shell: failed to mkdir %s", err.Error())
|
||||
|
Loading…
Reference in New Issue
Block a user