refactor: remove legacy code

This commit is contained in:
2025-02-19 12:12:55 +03:00
parent adc4a42800
commit 356ea7fb9f
21 changed files with 207 additions and 564 deletions

View File

@@ -79,7 +79,7 @@ func ParseOSRelease(ctx context.Context) (*OSRelease, error) {
runner, err := interp.New(
interp.OpenHandler(handlers.NopOpen),
interp.ExecHandler(handlers.NopExec),
interp.ReadDirHandler(handlers.NopReadDir),
interp.ReadDirHandler2(handlers.NopReadDir),
interp.StatHandler(handlers.NopStat),
interp.Env(expand.ListEnviron()),
)