MCPcopy Create free account
hub / github.com/SAP/ui5-builder / ensureNewLine

Method ensureNewLine

lib/lbt/bundle/BundleWriter.js:62–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 }
61
62 ensureNewLine() {
63 if ( !this.endsWithNewLine ) {
64 this.buf += NL;
65 this.endsWithNewLine = true;
66 this.lineOffset += 1;
67 this.columnOffset = 0;
68 }
69 }
70
71 toString() {
72 return this.buf;

Callers 13

writeWithSourceMapMethod · 0.80
closeModuleMethod · 0.80
ensureRawDeclarationsMethod · 0.80
writeRawMethod · 0.80
writeRawModuleMethod · 0.80
writePreloadFunctionMethod · 0.80
rewriteAMDModulesMethod · 0.80
writePreloadModuleMethod · 0.80
exportGlobalNamesMethod · 0.80
writeBundleInfosMethod · 0.80
writeRequiresMethod · 0.80
writeDepCacheMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected