mirror of
https://github.com/thewesker/bug-em.git
synced 2025-12-20 12:11:05 -05:00
lol
This commit is contained in:
2
app.js
2
app.js
@@ -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');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user