concourse / concourse

Using a deprecated function, variable, constant or field from archive/tar package GO-W1014
Anti-pattern
Major
1 occurrence in this check
tar.TypeRegA has been deprecated since Go 1.11 and an alternative has been available since Go 1.1: Use TypeReg instead.
 90			return err
 91		}
 92
 93	case tar.TypeReg, tar.TypeRegA: 94		file, err := os.Create(filePath)
 95		if err != nil {
 96			return err