db-migrate / db-migrate/english-docs
Command line argument taken over supplied function parameter in script
- Dominant language
- No language data
- Stars
- 17
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
I wrote a node.js script to use for running db-migrate commands. Here is the source:
https://pastebin.com/dHkwJnE1
I run it as
`node migrate-script.js create my_migration`
It works but migration ends up being called `create` and not `my_migration`
It seems that it will ignore function parameter and take just the first command line argument.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/65259473-command-line-argument-taken-over-supplied-function-parameter-in-script?utm_campaign=plugin&utm_content=tracker%2F11704504&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11704504&utm_medium=issues&utm_source=github).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.