mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-21 00:59:29 +00:00
Clean up lint errors
This commit is contained in:
parent
63edd3c27c
commit
557c05980e
3 changed files with 0 additions and 11 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
const s3 = require("../s3");
|
||||
|
||||
module.exports = async function() {
|
||||
return s3.getSkinToTweet();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue