mirror of
https://github.com/desktop/desktop
synced 2024-09-19 08:02:22 +00:00
Signs are important
This commit is contained in:
parent
f97c3460fd
commit
d45a00491a
|
@ -60,7 +60,7 @@ const getFilePath = (p: string) => join(p, `${getFilePrefix()}${fileSuffix}`)
|
|||
const createStream = (p: string) => createWriteStream(p, { flags: 'a' })
|
||||
|
||||
const pruneDirectory = async (p: string) => {
|
||||
const treshold = offsetFromNow(14, 'days')
|
||||
const treshold = offsetFromNow(-14, 'days')
|
||||
const files = await readdir(p)
|
||||
|
||||
for (const f of files) {
|
||||
|
|
Loading…
Reference in a new issue