
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="480b9752-1954-57bd-b05d-c7950ab27aa4")}catch(e){}}();
import { homedir } from "node:os";
import { resolve } from "node:path";
export function resolveProjectInputPath(inputPath, cwd) {
    if (inputPath === "~") {
        return homedir();
    }
    if (inputPath.startsWith("~/") || inputPath.startsWith("~\\")) {
        return resolve(homedir(), inputPath.slice(2));
    }
    return resolve(cwd, inputPath);
}
//# sourceMappingURL=project-path.js.map
//# debugId=480b9752-1954-57bd-b05d-c7950ab27aa4
