Skip to content

Update-PipeScript should use AST based offsets #439

@StartAutomating

Description

@StartAutomating

At various points within Update-PipeScript, things map the position of an AST element within text, based off of a moving offset.

This mostly works but has a really insidious possibility of fubar.

If a comment line contains the exact content of the AST element we're looking for, it will be picked as the insertion point.

This is obviously undesired.

While it might be a tricky rabbit hole to fall into, Update-PipeScript should not allow it to happen.

Metadata

Metadata

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions