Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Jan 13, 2025
1 parent cd1788d commit 02bbd38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion lib/hex/scm.ex
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ defmodule Hex.SCM do
mix_keys = ~w[app env compile optional only targets override manager runtime system_env]a

# https://hex.pm/docs/usage#options
hex_keys = ~w[hex repo organization]a
hex_keys = ~w[hex repo organization warn_if_outdated]a

internal_keys = ~w[dest lock build]a

Expand All @@ -136,6 +136,7 @@ defmodule Hex.SCM do
path = cache_path(repo, name, lock.version)

unknown_options = Keyword.keys(opts) -- @allowed_keys
dbg(unknown_options)

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (21.3, 1.7.2)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (21.3, 1.8.1)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (21.3, 1.6.6)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (24.3, 1.12.3)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (21.3, 1.8.1)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (21.3, 1.7.2)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (21.3, 1.6.6)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (22.3, 1.9.4)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (25.3, 1.13.4)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1 (expected Hex.SCM to define such a function or for it to be imported, but none are available)

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (23.3, 1.11.3)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (23.3, 1.10.4)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (23.3, 1.11.3)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (22.3, 1.9.4)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (23.3, 1.10.4)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (24.3, 1.12.3)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1

Check failure on line 139 in lib/hex/scm.ex

View workflow job for this annotation

GitHub Actions / Test (25.3, 1.13.4)

** (CompileError) lib/hex/scm.ex:139: undefined function dbg/1 (expected Hex.SCM to define such a function or for it to be imported, but none are available)

if unknown_options != [] do
Hex.Shell.warn(
Expand Down
6 changes: 3 additions & 3 deletions test/hex/remote_converger_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ defmodule Hex.RemoteConvergetTest do
app: :outdated_deps,
version: "0.1.0",
deps: [
{:postgrex, "0.2.1"},
{:ecto, "3.3.1"},
{:ecto_sql, "3.3.2"}
{:postgrex, "0.2.1", warn_if_outdated: true},
{:ecto, "3.3.1", warn_if_outdated: true},
{:ecto_sql, "3.3.2", warn_if_outdated: true}
]
]
end
Expand Down

0 comments on commit 02bbd38

Please sign in to comment.