Update pluginCheck.js

merge-requests/74/merge
Moe 2021-05-18 12:30:05 -07:00
parent 013a640c77
commit ca8ff36e8a
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
const fs = require('fs');
const haltMessage = `This script has stopped and started too quickly. It has been suspended to prevent performance issues.`
const lastStartTimeLocation = `${process.cwd()}/lastStartTime.txt`
const timeStarted = (new Date()).getTime()
const timeStarted = `${(new Date()).getTime()}`
const setStartTime = () => {
fs.writeFileSync(lastStartTimeLocation,timeStarted,'utf8')
}