grafana/vscode-jsonnet

Getting "'opts.calledFrom' is unset or empty" even when doing new(std.thisFile)

Opened this issue · 0 comments

I have the following lines in a jsonnet file

local tanka = import 'github.com/grafana/jsonnet-libs/tanka-util/main.libsonnet';
local helm = tanka.helm.new(std.thisFile);

And I'm seeing the 'opts.calledFrom' is unset or empty warning anyway.

image

I'm on the latest version (0.4.1), I'm running in Tanka mode, the chartfile.yaml file and the charts/ directory are there, and I have the dependency on https://github.com/grafana/jsonnet-libs.git pointing to master in jsonnetfile.json.

Also, running tk show ... on the command line works fine, both on the integrated terminal and on an external terminal.

Am I missing something? Is there a setting I can configure to make the warning go away?