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

fix: remove warnings using shebang #33

Merged
merged 1 commit into from
Dec 15, 2022
Merged

fix: remove warnings using shebang #33

merged 1 commit into from
Dec 15, 2022

Conversation

olizilla
Copy link
Contributor

supress node warnings as we are a CLI. No need to scare the users about the experimental status of things.

patching emit didn't work. I thought it did, but it seems not. This works, but i have no idea what windows will do with it.

before

❯ ./bin.js up ~/Pictures/3.jpg
  1 file (0.2MB)
⠋ Storing(node:39756) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
  bagbaieraytfm7hxlzzr4vmckazjiiwraozzrcj2bwqsipi5mtzgyxfc523lq

after

❯ ./bin.js up ~/Pictures/3.jpg
  1 file (0.2MB)
  bagbaieraytfm7hxlzzr4vmckazjiiwraozzrcj2bwqsipi5mtzgyxfc523lq

License: MIT
Signed-off-by: Oli Evans oli@protocol.ai

supress node warnings as we are a CLI. No need to scare the users about the experimental status of things.

patching emit didn't work. I thought it did, but it seems not. This works, but i have no idea what windows will do with it.

_before_
```sh
❯ ./bin.js up ~/Pictures/3.jpg
  1 file (0.2MB)
⠋ Storing(node:39756) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
  bagbaieraytfm7hxlzzr4vmckazjiiwraozzrcj2bwqsipi5mtzgyxfc523lq
```

_after_
```sh
❯ ./bin.js up ~/Pictures/3.jpg
  1 file (0.2MB)
  bagbaieraytfm7hxlzzr4vmckazjiiwraozzrcj2bwqsipi5mtzgyxfc523lq
```

License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
@olizilla olizilla requested a review from alanshaw December 15, 2022 13:52
@olizilla olizilla merged commit f3a1aac into main Dec 15, 2022
@olizilla olizilla deleted the shebang-unwarn branch December 15, 2022 16:09
alanshaw pushed a commit that referenced this pull request Jan 11, 2023
🤖 I have created a release *beep* *boop*
---


##
[1.1.0](v1.0.1...v1.1.0)
(2023-01-11)


### Features

* add support for sharded CAR uploads
([#36](#36))
([b055c78](b055c78))
* adds `w3 rm &lt;root-cid&gt;` cmd
([#20](#20))
([899a4d4](899a4d4))


### Bug Fixes

* remove warnings using shebang
([#33](#33))
([f3a1aac](f3a1aac))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants