MCPcopy Index your code
hub / github.com/codenameone/CodenameOne / append

Function append

scripts/run-javascript-canvas-debug.mjs:37–44  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

35let suiteFinished = false;
36
37function append(line) {
38 const text = `[playwright] ${line}\n`;
39 if (logFile) {
40 fs.appendFileSync(logFile, text, 'utf8');
41 } else {
42 process.stdout.write(text);
43 }
44}
45
46function writePngFromDataUrl(targetPath, dataUrl) {
47 const comma = String(dataUrl || '').indexOf(',');

Callers 1

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected