Skip to content

Commit

Permalink
cleaning up server
Browse files Browse the repository at this point in the history
  • Loading branch information
slmnio authored May 1, 2024
1 parent 70d1fd6 commit 1d039ab
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
folder: [website, server]

Expand Down
3 changes: 2 additions & 1 deletion server/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"no-unused-vars": [
"warn"
],
"no-multiple-empty-lines": ["warn", { "max": 2 }]
"no-multiple-empty-lines": ["warn", { "max": 2 }],
"no-useless-escape": ["warn"]
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Airtable = require("airtable");
const airtable = new Airtable({ apiKey: process.env.AIRTABLE_KEY });
const Cache = require("./cache.js");
const Cache = require("../cache.js");
const slmngg = airtable.base(process.env.AIRTABLE_APP);
const ora = require("ora");
const chalk = require("chalk");
Expand Down Expand Up @@ -168,8 +168,8 @@ async function processTableData(tableName, data, linkRecords = false) {
customTableUpdate(tableName, Cache);
}

const customTableUpdate = require("./custom-datasets");
const { log } = require("./discord/slmngg-log");
const customTableUpdate = require("../custom-datasets.js");
const { log } = require("../discord/slmngg-log.js");

function registerUpdater(tableName, options) {
let pollRate = 5000;
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const client = require("./client.js");
const client = require("../discord/client.js");
const Cache = require("../cache.js");
const { update, select } = require("../airtable-interface.js");
const { update, select } = require("./airtable-interface.js");
const Discord = require("discord.js");

let io;
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions server/src/discord/staff.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable */
/* BPL Staff Automation */

const client = require("./client.js");
Expand Down

0 comments on commit 1d039ab

Please sign in to comment.