mirror of
https://github.com/louislam/dockge.git
synced 2024-11-24 11:54:03 +00:00
13 lines
240 B
JavaScript
13 lines
240 B
JavaScript
/*
|
|
* 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) {
|
|
|
|
}
|