X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/82baf2fc853329a602119a72b73b752621e2888a..a75d6b92ffd4825631277eb8451ce720e16b7f3d:/sdk/cli/bin/arv diff --git a/sdk/cli/bin/arv b/sdk/cli/bin/arv index f20268d19a..e5aa4e4f2a 100755 --- a/sdk/cli/bin/arv +++ b/sdk/cli/bin/arv @@ -172,7 +172,7 @@ def edit_and_commit_object initial_obj, tmp_stem, global_opts, &block # Load the new object newobj = case global_opts[:format] when 'json' - Oj.load(newcontent) + Oj.safe_load(newcontent) when 'yaml' YAML.load(newcontent) else