chore(libreoffice): drop the now-unneeded gosec nolint

This commit is contained in:
Julien Neuhart
2026-08-13 12:32:55 +02:00
parent e39840d5cf
commit 38f6e466d4

View File

@@ -85,7 +85,7 @@ func resetCalcScrollPosition(ctx context.Context, logger *slog.Logger, inputPath
_, err = dst.Write(out)
if err != nil {
_ = os.Remove(dst.Name()) //nolint:gosec // G703: dst is from os.CreateTemp in the working directory, not a caller-controlled path
_ = os.Remove(dst.Name())
logger.WarnContext(ctx, fmt.Sprintf("reset calc scroll position: write sanitized file: %s; using the original file", err))
return inputPath
}