Skip to content

can't match export statements #653

@adamhl8

Description

@adamhl8

On grit 0.1.1

For some reason, I'm unable to match export statements.

pattern.grit

any {
  `import $_ from $source`,
  `export $_ from $source`
}
import { foo } from "./foo"
export { bar } from "./bar"

Run:

grit apply import-paths.grit test.ts

Output:

test.ts
     1  import { foo } from "./foo"

Processed 1 files and found 1 matches

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions