We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have found unexpected behavior with different results when using shortcuts and without using shortcuts, see:
const good = FileBuilder.normalizeFileObject({ 'a/': { 'a1.json': { jsonKey: 'jsonValue', }, 'a2.json': { jsonKey: 'jsonValue', }, }, }); console.log(good); const bad = FileBuilder.normalizeFileObject({ 'a/a1.json': { jsonKey: 'jsonValue', }, 'a/a2.json': { jsonKey: 'jsonValue', }, }); console.log(bad);
This leads to this log:
{ 'a/': { 'a1.json': { jsonKey: 'jsonValue' }, 'a2.json': { jsonKey: 'jsonValue' } } } { 'a/': { 'a2.json': { jsonKey: 'jsonValue' } } }
I think the problematic behavior occurs in this line, where the previous value for the path is being overwritten.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have found unexpected behavior with different results when using shortcuts and without using shortcuts, see:
This leads to this log:
I think the problematic behavior occurs in this line, where the previous value for the path is being overwritten.
The text was updated successfully, but these errors were encountered: