Skip to content

Rewatch - regression for relative path in ppx-flags #7762

@DZakh

Description

@DZakh

I couldn't use a relative path for testing ppx locally:

Error while running external preprocessor
Command line: /Users/dzakh/code/DZakh/rescript-schema/packages/e2e/node_modules/e2e/../../../sury-ppx/bin '/var/folders/pv/vz3qt1p52g72mw05tb7gzgy00000gn/T/ppxeb515dPpx_General_test.resi' '/var/folders/pv/vz3qt1p52g72mw05tb7gzgy00000gn/T/ppx987ccdPpx_General_test.resi'

It now calls rescript-schema/packages/e2e/node_modules/e2e/../sury-ppx/bin
While before it was rescript-schema/packages/e2e/../sury-ppx/bin.

Changing to rescript-schema/packages/e2e/node_modules/e2e/../../../sury-ppx/bin didn't help, since rescript-schema/packages/e2e/node_modules/e2e doesn't exist and it can't perform ../../../ because of this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions