Skip to content

Commit

Permalink
disable fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
MBR-0001 committed Jan 1, 2021
1 parent 6c52ded commit 9bf7157
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,5 @@
},
"homepage": "https://github.com/MBR-0001/sourcequery#readme",
"dependencies": {},
"devDependencies": {
"node-fetch": "^2.6.1"
}
"devDependencies": {}
}
3 changes: 1 addition & 2 deletions test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const fetch = require("node-fetch");
const SourceQuery = require("./index");

async function TestServer(ip) {
Expand All @@ -20,7 +19,7 @@ async function TestServers(log = false, preflight = false) {
console.log("Starting test, CI: " + !!process.env.CI);

let failed = [];
let servers = await fetch("https://api.mbr.pw/api/steamquery/tests").then(r => r.json());
let servers = [];

for (let server of servers) {
if (server.address == "Unknown") {
Expand Down

0 comments on commit 9bf7157

Please sign in to comment.