@platforma-sdk/tengo-builder 1.17.8 → 1.19.0

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.
@@ -200,7 +200,7 @@ function parseSingleSourceLine(
200
200
  if (multilineCommentEndRE.exec(line)) {
201
201
  context.isInCommentBlock = false;
202
202
  }
203
- return { line, context, artifact: undefined, option: undefined };
203
+ return { line: '', context, artifact: undefined, option: undefined };
204
204
  }
205
205
 
206
206
  if (compilerOptionRE.exec(line)) {
@@ -221,12 +221,12 @@ function parseSingleSourceLine(
221
221
  }
222
222
 
223
223
  if (singlelineCommentRE.exec(line)) {
224
- return { line, context, artifact: undefined, option: undefined };
224
+ return { line: '', context, artifact: undefined, option: undefined };
225
225
  }
226
226
 
227
227
  if (multilineCommentStartRE.exec(line)) {
228
228
  context.isInCommentBlock = true;
229
- return { line, context, artifact: undefined, option: undefined };
229
+ return { line: '', context, artifact: undefined, option: undefined };
230
230
  }
231
231
 
232
232
  if (emptyLineRE.exec(line)) {