An open-source, self-hosted system for apps built with web technologies.
Make intake verification platform independent
zohayrslileh7a54cabc31b1
diff --git a/scripts/verify-intake-address.mjs b/scripts/verify-intake-address.mjsindex 7fbe93b..a3b1e92 100644--- a/scripts/verify-intake-address.mjs+++ b/scripts/verify-intake-address.mjs@@ -1,5 +1,6 @@import assert from "node:assert/strict"import intakeAddress from "../source/server/view/intake-address.ts"+import { join } from "node:path"const first = intakeAddress("C:\\Users\\Person\\.phreshos", "win32")@@ -9,4 +10,4 @@ assert.equal(first, intakeAddress("c:/users/person/.phreshos/", "win32"))assert.notEqual(first, intakeAddress("C:\\Users\\Other\\.phreshos", "win32"))-assert.equal(intakeAddress("/home/person/.phreshos", "linux"), "/home/person/.phreshos/intake.sock")+assert.equal(intakeAddress("/home/person/.phreshos", "linux"), join("/home/person/.phreshos", "intake.sock"))