We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fe893c commit 6de4ba5Copy full SHA for 6de4ba5
apps/execution-service/src/execution/execution.service.ts
@@ -45,9 +45,9 @@ export class ExecutionService {
45
46
try {
47
if (fsSync.existsSync(filePath)) {
48
- await fs.unlink(filePath);
+ fsSync.unlinkSync(filePath);
49
}
50
- await fs.writeFile(filePath, code);
+ fsSync.writeFileSync(filePath, code);
51
} catch (error) {
52
return { success: false, output: 'Failed to write code file' };
53
0 commit comments