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
Seems like HiD could mkdir the destination for me if it doesn't exist, instead of blowing up with this obscure error :)
Attribute (destination) does not pass the type constraint because: Validation failed for 'HiD_DirPath' with value ../OTHERREPO/NONEXISTENT/ at constructor Tags::new (defined at _plugins/Tags.pm line 7) line 38.
Tags::new('Tags') called at /Users/sartak/.perl/perls/perl-5.18.1/lib/site_perl/5.18.1/HiD.pm line 342
HiD::_build_plugins('HiD=HASH(0x7fc73f992d60)') called at reader HiD::plugins (defined at /Users/sartak/.perl/perls/perl-5.18.1/lib/site_perl/5.18.1/HiD.pm line 311) line 7
HiD::plugins('HiD=HASH(0x7fc73f992d60)') called at /Users/sartak/.perl/perls/perl-5.18.1/lib/site_perl/5.18.1/HiD.pm line 579
HiD::publish('HiD=HASH(0x7fc73f992d60)') called at /Users/sartak/.perl/perls/perl-5.18.1/lib/site_perl/5.18.1/darwin-2level/Moose/Meta/Method/Delegation.pm line 110
HiD::App::Command::publish('HiD::App::Command::publish=HASH(0x7fc73fe50178)') called at /Users/sartak/.perl/perls/perl-5.18.1/lib/site_perl/5.18.1/HiD/App/Command/publish.pm line 39
The text was updated successfully, but these errors were encountered:
I can't replicate this issue using a newly inited very barebones site. (Basically, I ran 'hid init' and added a destination dir to _config.yml, then published the site.)
Could you share the config that produced this problem? I wonder if there isn't some combination of lazy init'd attributes that's causing this.
In fact, the test suite exercises this mkdir behavior in a few different places, so it must be something about an interaction with newly added (and cough undertested...) features causing this.
Seems like HiD could mkdir the destination for me if it doesn't exist, instead of blowing up with this obscure error :)
The text was updated successfully, but these errors were encountered: