8000 Using git diff doesn't provide flow file on Windows OS · Issue #38 · google/flow-lens · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Using git diff doesn't provide flow file on Windows OS #38
Open
@JulienDryepondt

Description

@JulienDryepondt

What is the problem?

When i launch deno run --allow-read --allow-write --allow-env --allow-run jsr:@goog/flow-lens --gitDiffFromHash="HEAD~" --gitDiffToHash="HEAD" --outputDirectory="." --outputFileName="test" on a terminal, the test.json file looks like []

What is the expected result?

I expected the result i get with the parameter --filePath because, i just created that flow to test the use of flow_lens.
deno run --allow-read --allow-write --allow-env --allow-run jsr:@goog/flow-lens --mode="json" --diagramTool="graphviz" --filePath="force-app/main/default/flows/AccountContactRelation_AfterSave_UpdateRolesCaseSubscribers.flow-meta.xml" --outputDirectory="." --outputFileName="test"

[
  {
    "path": "force-app/main/default/flows/AccountContactRelation_AfterSave_UpdateRolesCaseSubscribers.flow-meta.xml",
    "difference": {
      "new": "digraph {[...]}"
    }
  }
]

Steps to reproduce

I created a feature/ branch, I copied a flow from an active project and commited it.
I installed deno with npm then used the previous commands mentionned

Execution context

npm version: 10.9.1

node version: 22.14.0

git version: 2.47.0.windows.2

sf version: 2.80.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0