@travetto/scaffold 5.0.9 → 5.0.10
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.
- package/package.json +1 -1
- package/support/bin/context.ts +1 -0
package/package.json
CHANGED
package/support/bin/context.ts
CHANGED
|
@@ -139,6 +139,7 @@ export class Context {
|
|
|
139
139
|
.replaceAll('_$', '}}}'),
|
|
140
140
|
this.templateContext(),
|
|
141
141
|
)
|
|
142
|
+
.replace(/^[ ]*[/][/][ ]*\n/gsm, '')
|
|
142
143
|
.replace(/[ ]*[/][/][ ]*@ts-expect-error[^\n]*\n/gsm, '') // Excluding errors
|
|
143
144
|
.replace(/^[ ]*[/][/][ ]*[{][{][^\n]*\n/gsm, '') // Excluding conditional comments, full-line
|
|
144
145
|
.replace(/[ ]*[/][/][ ]*[{][{][^\n]*/gsm, ''); // Excluding conditional comments
|