File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 299
299
" label" ,
300
300
" xsltFile" ,
301
301
" xmlSource" ,
302
- " resultPath" ,
303
- " nodeModulesFolder"
302
+ " resultPath"
304
303
],
305
304
"properties" : {
306
305
"label" : {
309
308
},
310
309
"nodeModulesFolder" : {
311
310
"type" : " string" ,
312
- "description" : " The path of the node_modules folder"
311
+ "description" : " [No longer used] The path of the node_modules folder"
313
312
},
314
313
"xsltFile" : {
315
314
"type" : " string" ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ function exists(file: string): Promise<boolean> {
21
21
interface XSLTJSTask {
22
22
type : string ,
23
23
label : string ,
24
- nodeModulesFolder : string ,
24
+ nodeModulesFolder ? : string ,
25
25
xsltFile : string ,
26
26
xmlSource : string ,
27
27
useJsonSource ?: boolean ,
@@ -110,14 +110,12 @@ export class SaxonJsTaskProvider implements vscode.TaskProvider {
110
110
}
111
111
112
112
private addTemplateTask ( ) {
113
- let nodeModulesDefault = '${workspaceFolder}/node_modules'
114
113
let xmlSourceValue = '${file}' ;
115
114
let xsltFilePath = '${file}' ;
116
115
let resultPathValue = '${workspaceFolder}/xslt-out/result1.xml' ;
117
116
118
117
let xsltTask : XSLTJSTask = {
119
118
type : 'xslt-js' ,
120
- nodeModulesFolder : nodeModulesDefault ,
121
119
label : this . templateTaskLabel ,
122
120
xsltFile : xsltFilePath ,
123
121
xmlSource : xmlSourceValue ,
You can’t perform that action at this time.
0 commit comments