Skip to content

Commit fec0b94

Browse files
chore: remove extra script args in configuration
1 parent d779f90 commit fec0b94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@
324324
},
325325
"markdownDescription": "Additional arguments to pass to `swift build` and `swift test`. Keys and values should be provided as individual entries in the list. If you have created a copy of the build task in `tasks.json` then these build arguments will not be propagated to that task."
326326
},
327-
"swift.script.defaultSwiftVersion": {
327+
"swift.defaultSwiftVersion": {
328328
"type": "number",
329329
"default": null,
330330
"description": "The default Swift version to use when running Swift scripts. If set, skips the version selection dialog.",

src/configuration.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ const configuration = {
329329
.map(substituteVariablesInString);
330330
},
331331
get defaultSwiftVersion(): number | undefined {
332-
return vscode.workspace.getConfiguration("swift").get<number>("script.defaultSwiftVersion");
332+
return vscode.workspace.getConfiguration("swift").get<number>("defaultSwiftVersion");
333333
},
334334
/** swift package arguments */
335335
get packageArguments(): string[] {

0 commit comments

Comments
 (0)