dockge/extra/clean-tsx-tmp.js

14 lines
240 B
JavaScript
Raw Normal View History

2024-01-18 18:13:43 +00:00
/*
* This script is used to clean up the tmp directory.
* A workaround for https://github.com/louislam/dockge/issues/353
*/
import * as fs from "fs";
try {
fs.rmSync("/tmp/tsx-0", {
recursive: true,
});
} catch (e) {
}