Skip to content

Commit

Permalink
perl: フラグを元に戻す
Browse files Browse the repository at this point in the history
  • Loading branch information
kfly8 committed Nov 22, 2023
1 parent 7830950 commit 07991f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webapp/perl/lib/Isupipe/Assert.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ use Carp qw(croak);

# 本番環境ではassertしない
# 下記のassert_field以外にも、Isupipe::Util#check_paramsでも利用
#use constant ASSERT => ($ENV{PLACK_ENV}||'') ne 'production';
use constant ASSERT => !!0;
use constant ASSERT => ($ENV{PLACK_ENV}||'') ne 'production';

# 開発環境では、型チェックをしてあげる
sub assert_field($type, $value, $field_name) {
Expand Down

0 comments on commit 07991f6

Please sign in to comment.