• Resolves a path to its absolute form. Absolute inputs will not be changed (except changing Windows to POSIX). Relative inputs will be interpreted relative to process.cwd().

    Returns

    The potentially changed path (POSIX).

    Parameters

    • path: string

      Path to check (POSIX or Windows).

    Returns string