Skip to content

Commit e9bc07c

Browse files
moutikabdessabourAbdessabour Moutik
andauthored
fix: ignore unkown option in generate_migrations task #180 (#181)
Co-authored-by: Abdessabour Moutik <[email protected]>
1 parent 00c6228 commit e9bc07c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mix/tasks/ash_sqlite.generate_migrations.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ defmodule Mix.Tasks.AshSqlite.GenerateMigrations do
8888

8989
@shortdoc "Generates migrations, and stores a snapshot of your resources"
9090
def run(args) do
91-
{opts, _} =
92-
OptionParser.parse!(args,
91+
{opts, _, _} =
92+
OptionParser.parse(args,
9393
strict: [
9494
domains: :string,
9595
snapshot_path: :string,

0 commit comments

Comments
 (0)