chore: sync latest workspace updates
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"sproutclaw-web/internal/models"
|
||||
"sproutclaw-web/internal/utils"
|
||||
)
|
||||
|
||||
var npmSpecRe = regexp.MustCompile(`^(@?[^@]+(?:/[^@]+)?)(?:@(.+))?$`)
|
||||
@@ -206,5 +207,5 @@ func ToggleExtension(agentDir, extPath string, enable bool) error {
|
||||
if err := os.MkdirAll(filepath.Dir(dst), 0o755); err != nil {
|
||||
return err
|
||||
}
|
||||
return os.Rename(src, dst)
|
||||
return utils.Move(src, dst)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user