Skip to content

Commit

Permalink
Silence warning for now:
Browse files Browse the repository at this point in the history
This should be catching the DSL calls that do not use the DSL
object, but it's grabbing also DSL calls, so it's backfiring.

Disabling this for now.
  • Loading branch information
xsawyerx authored and veryrusty committed Mar 3, 2016
1 parent 0e98822 commit 00a3a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dancer2/Plugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ END
my \$cb = \$self->app->name->can(\$method)
or croak("Can't locate method '\$method'");
Carp::carp "Using DSL in plugins is deprecated (\$method).";
#Carp::carp "Using DSL in plugins is deprecated (\$method).";
\$cb->(\@args);
}
Expand Down

0 comments on commit 00a3a92

Please sign in to comment.