Skip to content

Commit

Permalink
fixed removing dep dir error
Browse files Browse the repository at this point in the history
  • Loading branch information
nedpals committed Feb 6, 2018
1 parent 157b28e commit e403f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sharn/remove.cr
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module SharnCLI::Cmds
puts output if options.debug?

File.write(detect_shard_file, output)
FileUtils.rmdir(args.packages)
FileUtils.rm_rf(args.packages.map! { |pkgs| "lib/" + pkgs })
end
end
end
Expand Down

0 comments on commit e403f0c

Please sign in to comment.