Closed CaporalDead closed 3 months ago
Hey guys, any chance to see this fix reviewed (and merged :grin:) ?
Thanks for your feedback :pray: !
Thanks @abudaan :pray: . I didn't update the version number but I wrote the CHANGELOG with the Unreleased tag. Didn't know if I had to bump the version number manually.
Oupsy, I just saw that I think that I didn't update the right CHANGELOG oO. Do I have to make a new PR to fix this ?
No problem :)
Thanks for your fix!
@abudaan , I think that the npm update for the GCS adapter is missing, it's still 1.0.7
instead of 1.0.8
:) (https://www.npmjs.com/package/@tweedegolf/sab-adapter-google-cloud)
Hi @abudaan, me again :sweat_smile: , sorry to bother you (again) but I think something went wrong with the build. I saw you tagged 1.0.8 but the output code does not include the patch.
I git cloned your last commit, run npm i && npm run prepare
to replay the build as I did before and I can see that the fix is present in the publish/AdapterGoogleCloud/dist/AdapterGoogleCloud.js
file.
Not sure of what's going on here :thinking:
Summary:
There is a priority problem between the promise/await and array access. Fix this by prioritizing the promise result over then array access. It was causing the following error :
The code to reproduce
Tested on:
Node 20.12.2 NPM 10.5.0
Fix proposal
See https://github.com/tweedegolf/storage-abstraction/pull/66