Skip to content

Convert the name to a String before splitting it #631

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

Closed
1 of 3 tasks
gmahe opened this issue Jul 3, 2019 · 2 comments
Closed
1 of 3 tasks

Convert the name to a String before splitting it #631

gmahe opened this issue Jul 3, 2019 · 2 comments
Labels

Comments

@gmahe
Copy link
Contributor

gmahe commented Jul 3, 2019

I'm submitting a...

  • Bug report
  • Feature request
  • Question

Current behavior

There was an issue when the name of the file was only number db-migrate create 012
[ERROR] TypeError: internals.argv.title.split is not a function

Expected behaviour

It should be able to get numbers as a string.

Solution

Convert the name to a String before splitting it.
#630

Minimal reproduction of the problem with instructions

db-migrate create 012

What is the motivation / use case for changing the behavior?

If I want to only have integer as a name.

Environment


db-migrate version: 0.11.6
Node version: v10.15.3
Platform:   Mac and Linux
@stale
Copy link

stale bot commented Aug 3, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 3, 2019
@stale stale bot closed this as completed Aug 10, 2019
@wzrdtales wzrdtales reopened this Feb 3, 2020
@stale stale bot removed the stale label Feb 3, 2020
@stale
Copy link

stale bot commented Mar 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 4, 2020
@stale stale bot closed this as completed Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants