mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 05:23:18 +12:00
fix: trim input before passing to String.to_integer/1
.
This commit is contained in:
parent
bc26951c41
commit
632878cbee
1 changed files with 1 additions and 0 deletions
|
@ -727,6 +727,7 @@ defmodule AshPostgres.MigrationGenerator do
|
|||
|
||||
opts
|
||||
|> prompt(message)
|
||||
|> String.trim()
|
||||
|> String.to_integer()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue