Skip to content

Commit 212820a

Browse files
committed
Remove shell quote from index-files logging
1 parent 2673f53 commit 212820a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

extractors/cds/tools/index-files.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,7 @@ responseFiles.forEach(rawCdsFilePath => {
199199
{ shell: true }
200200
);
201201
if (result.error || result.status !== 0) {
202-
const stderrTruncated = quote(
203-
result.stderr.toString().split('\n').filter(line => line.startsWith('[ERROR]')).slice(-4).join('\n'));
202+
const stderrTruncated = result.stderr.toString().split('\n').filter(line => line.startsWith('[ERROR]')).slice(-4).join('\n');
204203
const errorMessage = `Could not compile the file ${cdsFilePath}.\nReported error(s):\n\`\`\`\n${stderrTruncated}\n\`\`\``;
205204
console.log(errorMessage);
206205
execFileSync(

0 commit comments

Comments
 (0)