Skip to content

Commit

Permalink
fix(ci): use default arg
Browse files Browse the repository at this point in the history
  • Loading branch information
mika-f committed May 30, 2019
1 parent 3af3a8a commit e0492ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
- restore_repo
- restore_global_deps
- restore_deps
- run: ./bin/runner.sh Generators::Atok Kaomojic ./dist/atok/ かお
- run: ./bin/runner.sh Generators::Atok Kaomojic ./dist/atok/
- save_cache:
paths:
- ./dist/atok
Expand All @@ -96,7 +96,7 @@ jobs:
- restore_repo
- restore_global_deps
- restore_deps
- run: ./bin/runner.sh Generators::Google Kaomojic ./dist/google-ime/ かお
- run: ./bin/runner.sh Generators::Google Kaomojic ./dist/google-ime/
- save_cache:
paths:
- ./dist/google-ime
Expand Down
4 changes: 2 additions & 2 deletions lib/Kaomojic/Tasks/Generators/Atok.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sub run {
state $v; $v //= Data::Validator->new(
fixture => { isa => 'Str' },
dist => { isa => 'Str' },
aliased => { isa => 'Str', default => '' },
aliased => { isa => 'Str', default => 'かお' },
)->with(qw/Method StrictSequenced/);
my ($class, $args) = $v->validate(@_);
my ($fixture, $dist, $aliased) = @$args{qw/fixture dist aliased/};
Expand Down Expand Up @@ -63,6 +63,6 @@ sub run {
=head1 SYNOPSIS
./bin/runner.sh Generators::Atok Kaomojic ./dist/atok/kaomojic.txt
./bin/runner.sh Generators::Atok Kaomojic ./dist/atok/default.txt かお
./bin/runner.sh Generators::Atok Kaomojic ./dist/atok/default.txt alias
=cut
4 changes: 2 additions & 2 deletions lib/Kaomojic/Tasks/Generators/Google.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sub run {
state $v; $v //= Data::Validator->new(
fixture => { isa => 'Str' },
dist => { isa => 'Str' },
aliased => { isa => 'Str', default => '' },
aliased => { isa => 'Str', default => 'かお' },
)->with(qw/Method StrictSequenced/);
my ($class, $args) = $v->validate(@_);
my ($fixture, $dist, $aliased) = @$args{qw/fixture dist aliased/};
Expand Down Expand Up @@ -51,6 +51,6 @@ sub run {
=head1 SYNOPSIS
./bin/runner.sh Generators::Google Kaomojic ./dist/google-ime/
./bin/runner.sh Generators::Google Kaomojic ./dist/google-ime/ かお
./bin/runner.sh Generators::Google Kaomojic ./dist/google-ime/ alias
=cut

0 comments on commit e0492ea

Please sign in to comment.