File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11MAKEFLAGS += --no-print-directory
22EXECUTABLE_NAME := progressline
3- SWIFT_VERSION := 5.10
3+ SWIFT_VERSION := 6.0
44ROOT_PATH := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST ) ) ) )
55DOCKER_RUN := docker run --rm --volume $(ROOT_PATH ) :/workdir --workdir /workdir
66ZIP := zip -j
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ final class OriginalLogController {
1010 do {
1111 let url = URL ( fileURLWithPath: path)
1212 try FileManager . default. createDirectory ( at: url. deletingLastPathComponent ( ) , withIntermediateDirectories: true )
13- FileManager . default. createFile ( atPath: path, contents: nil )
13+ _ = FileManager . default. createFile ( atPath: path, contents: nil )
1414 self . fileHandle = try FileHandle ( forWritingTo: url)
1515 fileHandle. seekToEndOfFile ( )
1616 } catch {
Original file line number Diff line number Diff line change 11import Foundation
22
33extension String {
4- private nonisolated ( unsafe ) static let ansiRegex = try ! NSRegularExpression ( pattern: " \u{1B} (?:[@-Z \\ -_]| \\ [[0-?]*[ -/]*[@-~]) " )
4+ private static let ansiRegex = try ! NSRegularExpression ( pattern: " \u{1B} (?:[@-Z \\ -_]| \\ [[0-?]*[ -/]*[@-~]) " )
55
66 func withoutANSI( ) -> String {
77 let range = NSRange ( startIndex ..< endIndex, in: self )
You can’t perform that action at this time.
0 commit comments