mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
build fix
This commit is contained in:
parent
593e919e32
commit
1379ba5026
@ -1,11 +1,11 @@
|
||||
const findRemoveSync = require('find-remove');
|
||||
// const findRemoveSync = require('find-remove');
|
||||
|
||||
function cleanDirectory(directory) {
|
||||
findRemoveSync(directory, {
|
||||
age: { seconds: 3600 },
|
||||
files: '*.*',
|
||||
dir: '*',
|
||||
});
|
||||
// findRemoveSync(directory, {
|
||||
// age: { seconds: 3600 },
|
||||
// files: '*.*',
|
||||
// dir: '*',
|
||||
// });
|
||||
}
|
||||
|
||||
module.exports = cleanDirectory;
|
||||
|
Loading…
Reference in New Issue
Block a user