liuweiGL/vite-plugin-mkcert

does not exist, please check the mkcertPath paramter

yinbiao opened this issue · 0 comments

/**

  • Check if mkcert exists
    */
    private async checkMkcert() {
    let exist: boolean
    if (this.mkcertLocalPath) {
    exist = await exists(this.mkcertLocalPath)
    this.logger.error(
    pc.red(
    ${this.mkcertLocalPath} does not exist, please check the mkcertPath paramter
    )
    )
    } else {
    exist = await exists(this.mkcertSavedPath)
    }
    return exist
    }

it's always output "${this.mkcertLocalPath} does not exist, please check the mkcertPath paramter", whether the file exists or not