We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running SqlPackage.deployDb without a timeout argument an exception is thrown.
Run the example found at https://fake.build/sql-sqlpackage.html.
Should either warn the user of a missing argument or provide a valid default.
Throws a NullReferenceException
Provide a timeout argument
fake --version FAKE 5 - F# Make (5.10.1) cat .config/dotnet-tools.json { "version": 1, "isRoot": true, "tools": { "fake-cli": { "version": "5.20.3", "commands": [ "fake" ] } } }
I am 99% sure the error is in src/app/Fake.Sql.SqlPackage/Sql.SqlPackage.fs line 121.
| Timeout when String.isNullOrEmpty(args.Profile) && args.Timeout.IsNone -> sprintf "/p:CommandTimeout=%d" args.Timeout.Value
We check that args.Timeout.IsNone but then call args.Timeout.Value anyway.
args.Timeout.IsNone
args.Timeout.Value
The text was updated successfully, but these errors were encountered:
Welcome to the FAKE community! Thank you so much for creating your first issue and therefore improving the project!
Sorry, something went wrong.
This should be fixed now by #2581 please check https://github.com/fsharp/FAKE/blob/release/next/src/app/Fake.Sql.SqlPackage/Sql.SqlPackage.fs#L129
No branches or pull requests
Description
When running SqlPackage.deployDb without a timeout argument an exception is thrown.
Repro steps
Run the example found at https://fake.build/sql-sqlpackage.html.
Expected behavior
Should either warn the user of a missing argument or provide a valid default.
Actual behavior
Throws a NullReferenceException
Known workarounds
Provide a timeout argument
Related information
I am 99% sure the error is in src/app/Fake.Sql.SqlPackage/Sql.SqlPackage.fs line 121.
We check that
args.Timeout.IsNone
but then callargs.Timeout.Value
anyway.The text was updated successfully, but these errors were encountered: