Skip to content

Commit

Permalink
Del unused dep, fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
avgkoster committed Oct 29, 2023
1 parent 11b5e0f commit 0abeddc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import connect from "connect";
import http from "node:http";
import bodyParser from "body-parser";
import url, { URL } from "node:url";
import { spawnSync } from "node:child_process";
import os from "node:os";
import fs from "node:fs";
Expand All @@ -26,12 +25,8 @@ app.use(
app.use(compression());

const gitClone = (repoUrl, branch = null) => {

const tempDir = fs.mkdtempSync(
path.join(
os.tmpdir(),
path.basename(repoUrl)
)
path.join(os.tmpdir(),path.basename(repoUrl))

Check failure on line 29 in server.js

View workflow job for this annotation

GitHub Actions / build (16.x)

Insert `·`

Check failure on line 29 in server.js

View workflow job for this annotation

GitHub Actions / build (18.x, ubuntu-latest)

Insert `·`

Check failure on line 29 in server.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Insert `·`

Check failure on line 29 in server.js

View workflow job for this annotation

GitHub Actions / build (20.x)

Insert `·`
);

if (branch == null) {
Expand Down

0 comments on commit 0abeddc

Please sign in to comment.