Skip to content
This repository was archived by the owner on Oct 13, 2022. It is now read-only.

Quote hash-marks in commands #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

beorn
Copy link

@beorn beorn commented Feb 3, 2019

At least some shells (I'm using zsh) treat # as the start of comments, so you'd end up with:

npx degit 'sveltejs/sapper-template

instead of

npx degit 'sveltejs/sapper-template#rollup

So it's probably better to quote shell arguments that contain # to ensure they're passed to the command.

At least some shells (I'm using zsh) treat ```#``` as the start of comments, so you'd end up with:

```bash
npx degit 'sveltejs/sapper-template
```
instead of
```bash
npx degit 'sveltejs/sapper-template#rollup
```

So it's probably better to quote shell arguments that contain ```#``` to ensure they're passed to the command.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant