Skip to content

Commit 1a9bc0f

Browse files
fix: Remove duplicated to string in injectFilesInMem util
1 parent 00d1227 commit 1a9bc0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/injectFilesInMem/injectFilesInMem.utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function injectFilesInMem(dirs) {
3030
const bufferContent = await fs.readFile(filePath);
3131
let key = filePath;
3232
if (!filePath.startsWith('/')) key = `/${filePath}`;
33-
const bufferObject = JSON.stringify(bufferContent.toString('base64'));
33+
const bufferObject = bufferContent.toString('base64');
3434
result[key] = { content: bufferObject };
3535
}
3636
}),

0 commit comments

Comments
 (0)