You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing in a custom data_dir (as a string, of course) as suggested in the documentation to new_from_conf_file, Code::TidyAll will cause a Perl error:
Can't locate object method "child" via package "/var/folders/85/z186m29d7zbgb6tx8sqxhvhr0000gn/T" (perhaps you forgot to load "/var/folders/85/z186m29d7zbgb6tx8sqxhvhr0000gn/T"?) at /Library/Perl/5.18/Code/TidyAll.pm line 58.
This is because _build_backup_dir() calls $self->data_dir->child('backups') which dies if data_dir is a scalar. Workaround: also set no_backups => 1 flag in the parameters.
The text was updated successfully, but these errors were encountered:
Well, that didn't happen. I will keep working on this. I'm trying to get Code::TidyAll to use Specio types with coercions, but there is some sort of bug in Specio or Moo that I need to understand.
When passing in a custom
data_dir
(as a string, of course) as suggested in the documentation tonew_from_conf_file
, Code::TidyAll will cause a Perl error:This is because
_build_backup_dir()
calls$self->data_dir->child('backups')
which dies ifdata_dir
is a scalar. Workaround: also setno_backups => 1
flag in the parameters.The text was updated successfully, but these errors were encountered: