This commit is contained in:
Talor Berthelson
2016-06-28 01:31:10 -04:00
parent 7c7f009a44
commit 5d02592d80

2
app.js
View File

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