OpenFn / kit

The bits & pieces that make OpenFn work. (diagrammer, cli, compiler, runtime, runtime manager, logger, etc.)
8 stars 12 forks source link

CLI: Is default state broken? #647

Closed josephjclark closed 3 months ago

josephjclark commented 3 months ago

I confidently told hunter that -s tmp/state.json is redundant, as the CLI will look for state in state.json adjacent to the job.js file.

But in her log, that doesn't seem to be working?

image

I ought to investigate this

josephjclark commented 3 months ago

Ah, I remember now!

We actually removed this, because it can be a bit scary if the CLI starts loading random state files without permission.

So this is the correct behaviour