From 53b7c83ac6b7fc883db70075840afe63cd479f5d Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Tue, 20 Jun 2023 21:28:02 -0700 Subject: [PATCH] Fix edit command source creation --- intake/cli.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/intake/cli.py b/intake/cli.py index cac3a5d..1db04e1 100644 --- a/intake/cli.py +++ b/intake/cli.py @@ -56,11 +56,12 @@ def cmd_edit(cmd_args): with (source_path / "intake.json").open("w") as f: json.dump( { - "fetch": { - "exe": "", - "args": [], + "action": { + "fetch": { + "exe": "", + "args": [], + }, }, - "action": {}, "env": {}, }, f,