scancscode 1.0.15 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -191,7 +191,7 @@ class CSCodeScanner {
191
191
  let memberLine = memberLines[i];
192
192
  let match = memberLine.match(this.getMemberValuePattern);
193
193
  if (match != null) {
194
- memberLines[i] = match[1] + match[2] + ".TR()" + match[4];
194
+ memberLines[i] = match[1] + match[2] + `.${trmethodname}()` + match[4];
195
195
  }
196
196
  }
197
197
  convertedAssignLine = assignHead + memberLines.join("+") + ";";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scancscode",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {
@@ -199,7 +199,7 @@ export class CSCodeScanner {
199
199
  let memberLine = memberLines[i];
200
200
  let match = memberLine.match(this.getMemberValuePattern);
201
201
  if (match != null) {
202
- memberLines[i] = match[1] + match[2] + ".TR()" + match[4];
202
+ memberLines[i] = match[1] + match[2] + `.${trmethodname}()` + match[4];
203
203
  }
204
204
  }
205
205
  convertedAssignLine = assignHead + memberLines.join("+") + ";";