File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
test/unit-tests/toolchain Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,8 @@ export class Swiftly {
127
127
const response = ListResult . parse ( JSON . parse ( stdout ) ) ;
128
128
return response . toolchains . map ( t => t . version . name ) ;
129
129
} catch ( error ) {
130
- outputChannel ?. appendLine ( `Failed to retrieve Swiftly installations: ${ error } ` ) ;
130
+ outputChannel ?. appendLine (
131
+ `Failed to retrieve Swiftly installations : ${ error } ` ) ;
131
132
return [ ] ;
132
133
}
133
134
}
@@ -220,7 +221,8 @@ export class Swiftly {
220
221
const error = err as ExecFileError ;
221
222
// Its possible the toolchain in .swift-version is misconfigured or doesn't exist.
222
223
void vscode . window . showErrorMessage (
223
- `Failed to load toolchain from Swiftly: ${ error . stderr } ` ) ;
224
+ `Failed to load toolchain from Swiftly: ${ error . stderr } `
225
+ ) ;
224
226
}
225
227
}
226
228
}
Original file line number Diff line number Diff line change @@ -79,10 +79,12 @@ suite("Swiftly Unit Tests", () => {
79
79
] ,
80
80
} ;
81
81
82
- mockUtilities . execFile . withArgs ( "swiftly" , [ "list" , "--format=json" ] ) . resolves ( {
83
- stdout : JSON . stringify ( jsonOutput ) ,
84
- stderr : "" ,
85
- } ) ;
82
+ mockUtilities . execFile
83
+ . withArgs ( "swiftly" , [ "list" , "--format=json" ] )
84
+ . resolves ( {
85
+ stdout : JSON . stringify ( jsonOutput ) ,
86
+ stderr : "" ,
87
+ } ) ;
86
88
87
89
const result = await Swiftly . listAvailableToolchains ( ) ;
88
90
You can’t perform that action at this time.
0 commit comments