diff --git a/tools/deploy/path.ts b/tools/deploy/path.ts index 4921e43e..efdbe0ba 100644 --- a/tools/deploy/path.ts +++ b/tools/deploy/path.ts @@ -20,6 +20,10 @@ export function format({dir, name, ext} : Path) { return pathlib.format({dir, name, ext : dotext}); } +export function join(s : string, {dir, name, ext} : Path) : Path { + return {dir: pathlib.join(s, dir), name, ext}; +} + export type Delta = Partial; export function update({dir, name, ext} : Path, delta : Delta) : Path {