This commit is contained in:
Talor Berthelson
2016-06-28 01:36:14 -04:00
parent a1a96001fa
commit 3e985d2753

2
app.js
View File

@@ -31,7 +31,7 @@ stream.on('tweet', function (tweet) {
.clip()
.capture(function(err, img) {
if (err) throw err;
fs.writeFileSync(__dirname + './pics/trump.png', img);
fs.writeFileSync('./pics/trump.png', img);
console.log('screenshot saved as trump.png');
});