Skip to content

compiler doesn't report positions on lazy state errors #1307

@josephjclark

Description

@josephjclark

No position information is reported here:

const link = `https://docs.google.com/spreadsheets/d/${$.googleSheetsId}`

The user is using lazy state outside an operation, which is an error

The only error given by the compiler is:

[CLI] ✘ Failed to compile job
[CLI] ✘ invalid state operator: must be inside an expression
[CLI] ♦ Check the syntax of the job expression:

errs.js

[CLI] ✘ Critical error: aborting command

Which is a bit esoteric

Metadata

Metadata

Assignees

Labels

CLITracking issue to do with the CLI

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions