Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

running anicca twice with same inputs has different outputs #7

Open
gr2m opened this issue Aug 18, 2021 · 0 comments
Open

running anicca twice with same inputs has different outputs #7

gr2m opened this issue Aug 18, 2021 · 0 comments

Comments

@gr2m
Copy link

gr2m commented Aug 18, 2021

To reproduce

# download latest `api.github.com.deref.json` and store it as `fixtures/api.github.com.deref-changed.json`
curl https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/dereferenced/api.github.com.deref.json --output fixtures/api.github.com.deref-changed.json
# create diff.json
cargo run --bin cli diff fixtures/api.github.com.deref.json fixtures/api.github.com.deref-changed.json --format json > diff.json
# stage the changes
git add .
# run again
cargo run --bin cli diff fixtures/api.github.com.deref.json fixtures/api.github.com.deref-changed.json --format json > diff.json
# diff.json has been changed, but it should not have
git status
gr2m added a commit to octokit/openapi that referenced this issue Aug 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant