Clean up lint errors

This commit is contained in:
Jordan Eldredge 2019-10-10 06:56:17 -07:00
parent 63edd3c27c
commit 557c05980e
3 changed files with 0 additions and 11 deletions

View file

@ -1,6 +1,5 @@
#!/usr/bin/env node
const argv = require("yargs").argv;
const findTweetableSkin = require("./tasks/findTweetableSkins");
const fetchInternetArchiveMetadata = require("./tasks/fetchInternetArchiveMetadata");
const ensureInternetArchiveItemsIndexByMd5 = require("./tasks/ensureInternetArchiveItemsIndexByMd5");
const path = require("path");

View file

@ -120,10 +120,6 @@ async function getTweetableSkins() {
);
});
}
async function getSkinToTweet() {
const tweetableSkins = await getTweetableSkins();
return tweetableSkins[0] || null;
}
async function appendLine(key, line) {
const currentContent = await getFile(key);
@ -149,7 +145,6 @@ module.exports = {
reject,
getStatus,
getStats,
getSkinToTweet,
markAsTweeted,
getTweetableSkins,
};

View file

@ -1,5 +0,0 @@
const s3 = require("../s3");
module.exports = async function() {
return s3.getSkinToTweet();
};