Skip to content
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

Different ordering of items leads to workflow success/failure #30

Open
nedsalk opened this issue Mar 31, 2024 · 0 comments
Open

Different ordering of items leads to workflow success/failure #30

nedsalk opened this issue Mar 31, 2024 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@nedsalk
Copy link
Contributor

nedsalk commented Mar 31, 2024

I added an item at the end of an items array here and it led to CI failure.
When I put it at the beginning of the list the CI workflow succeeded.

I installed the workflow locally and ran vp-docs.js against the fuels-ts docs. The failing ordering yields this:

const order = processVPConfig(configFile.split(EOL));
console.log(order);

// Tooling: [],
//  Testing: [
//    'Testing in TS',
//    'Setting Up a Custom Chain',
//    'Tweaking the Blockchain'
//  ],
//  CLI: [],
//  fuels: [ 'Config File', 'Commands', 'Binaries', 'Graphql Integration' ],

The successful ordering yields this:

const order = processVPConfig(configFile.split(EOL));
console.log(order);

// Tooling: [ 'GraphQL Integration' ],
//  Testing: [
//    'Testing in TS',
//    'Setting Up a Custom Chain',
//    'Tweaking the Blockchain'
//  ],
//  CLI: [],
//  fuels: [ 'Config File', 'Commands', 'Binaries' ],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant