persona-community-5/.pnpm-store/v3/files/3f/45b72c6b0c18f5039d16d9207e7af7abb246d93d9f9273ecdd3fe177b9551f7d0faeff534d2f55ae45c8a31205b348446e602239260a75e21f8ebb80df6a74
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

14 lines
292 B
Plaintext

var rimraf = require('rimraf').sync;
var fs = require('fs');
module.exports = function del(file) {
if (fs.existsSync(file)) {
//if rimraf doesn't throw then the file has been deleted or didn't exist
rimraf(file, {
glob: false,
});
return true;
}
return false;
};