Skip to content

Commit

Permalink
remove Ask
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrowder committed Oct 3, 2023
1 parent 36ad1af commit 1b13536
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"JSON::Fast",
"App::Mi6:ver<3.0.2+>",
"Text::Utils",
"Proc::Easier",
"Ask:ver<0.0.3+>"
"Proc::Easier"
],
"description": "An aid for converting Raku modules to use App::Mi6",
"license": "Artistic-2.0",
Expand Down
5 changes: 2 additions & 3 deletions bin/mi6-helper
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use App::Mi6;
use Text::Utils :normalize-string;
use File::Find;
use JSON::Fast;
use Ask;

if not @*ARGS.elems {
say qq:to/HERE/;
Expand Down Expand Up @@ -141,7 +140,7 @@ if not $provides.defined {
}
else {
say "FATAL: Unable to find the hidden file '$hidden'.";
my $res = ask "Do you want to continue without it (y/N): ";
my $res = prompt "Do you want to continue without it (y/N): ";
if $res ~~ /:i ^ y/ {
say "Okay, continuing without a 'provides' input...";
}
Expand Down Expand Up @@ -179,7 +178,7 @@ if $dist-ini.IO.f {
say "Danger, file '$dist-ini' exists.";
say "Checking for the 'force' option...";
if $force {
my $ans = ask "Are you sure you want to continue (y/N): ";
my $ans = prompt "Are you sure you want to continue (y/N): ";
if $ans ~~ /:i ^y/ {
say "Continuing with mods...":
}
Expand Down

0 comments on commit 1b13536

Please sign in to comment.