mirror of
https://github.com/louislam/dockge.git
synced 2026-05-21 14:02:17 +00:00
Workaround fix for tsx issue (#380)
This commit is contained in:
13
extra/clean-tsx-tmp.js
Normal file
13
extra/clean-tsx-tmp.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* 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) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user