mod: bump modernc.org/sqlite from 1.36.0 to 1.37.0 (#7947)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Chen <jc@unknwon.io>
This commit is contained in:
dependabot[bot]
2025-04-14 18:00:07 -04:00
committed by GitHub
parent 4acaaac85a
commit 139ea3ce7d
76 changed files with 1085 additions and 1097 deletions

View File

@@ -17,7 +17,7 @@ import (
var ErrExecTimeout = errors.New("process execution timeout")
const DEFAULT_TIMEOUT = 60 * time.Second
const defaultTimeout = 60 * time.Second
// Process represents a running process calls shell command.
type Process struct {
@@ -77,7 +77,7 @@ func Remove(pid int64) bool {
// Exec starts executing a shell command in given path, it tracks corresponding process and timeout.
func ExecDir(timeout time.Duration, dir, desc, cmdName string, args ...string) (string, string, error) {
if timeout == -1 {
timeout = DEFAULT_TIMEOUT
timeout = defaultTimeout
}
bufOut := new(bytes.Buffer)