Skip to content

Commit

Permalink
reference test server from __dirname instead of absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
aberigle committed Nov 21, 2023
1 parent e5cd3c5 commit a23c8d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const FtpSrv = require("ftp-srv");

// Using non-standard port
const port = 2121;
const homeDir =
require("os").homedir() + "/code/projects/ftp-deploy/test/remote";

const homeDir = __dirname + "/remote";
// console.log("serving", homeDir);

const options = {
Expand Down

0 comments on commit a23c8d0

Please sign in to comment.