File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,17 +69,17 @@ public class SwiftTool<Mode: Argument, OptionType: Options> {
69
69
public init ( ) {
70
70
let args = Array ( CommandLine . arguments. dropFirst ( ) )
71
71
self . args = args
72
- let dynamicSelf = type ( of: self )
72
+ let dynamicType = type ( of: self )
73
73
do {
74
- ( self . mode, self . options) = try dynamicSelf . parse ( commandLineArguments: args)
74
+ ( self . mode, self . options) = try dynamicType . parse ( commandLineArguments: args)
75
75
// Honor chdir option is provided.
76
76
if let dir = options. chdir {
77
77
// FIXME: This should be an API which takes AbsolutePath and maybe
78
78
// should be moved to file system APIs with currentWorkingDirectory.
79
79
try chdir ( dir. asString)
80
80
}
81
81
} catch {
82
- handle ( error: error, usage: dynamicSelf . usage)
82
+ handle ( error: error, usage: dynamicType . usage)
83
83
}
84
84
85
85
// Create local variables to use while finding build path to avoid capture self before init error.
You can’t perform that action at this time.
0 commit comments