Skip to content

evaluator fails on windows file paths #551

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
meier-christoph opened this issue Apr 2, 2021 · 3 comments
Open

evaluator fails on windows file paths #551

meier-christoph opened this issue Apr 2, 2021 · 3 comments
Labels
keepalive kind/bug Something isn't working

Comments

@meier-christoph
Copy link

When using commands that require evaluation with an EvalScript e.g. tk diff default --name foo on windows you get an error due to the file path separator.

Error: evaluating jsonnet: default:2:24-98 Unknown escape sequence in string literal: \g
  local main = (import 'C:\<path to project>\environments\default\main.jsonnet');

See: https://github.com/grafana/tanka/blob/master/pkg/tanka/evaluators.go#L27

@Duologic Duologic added the kind/bug Something isn't working label May 20, 2021
@stale
Copy link

stale bot commented Jun 23, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 23, 2021
@Duologic
Copy link
Member

/keepalive

@stale stale bot removed the stale label Jun 23, 2021
@stale
Copy link

stale bot commented Jul 24, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 24, 2021
@stale stale bot closed this as completed Jul 31, 2021
@Duologic Duologic reopened this Aug 3, 2021
@stale stale bot removed the stale label Aug 3, 2021
@Elfo404 Elfo404 added this to Tanka May 27, 2024
@github-project-automation github-project-automation bot moved this to Triage in Tanka May 27, 2024
@zerok zerok moved this from Triage to Backlog in Tanka May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keepalive kind/bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants