Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Make sure Path::Tiny is loaded before calling it. #11

Closed
kentfredric opened this Issue Feb 27, 2014 · 1 comment

Comments

Projects
None yet
1 participant
Owner

kentfredric commented Feb 27, 2014

if ( $type eq 'pathtiny' ) {
    return $value if ref $value eq 'Path::Tiny';
    return Path::Tiny::path($value);
}

should read

if ( $type eq 'pathtiny' ) {
    return $value if ref $value eq 'Path::Tiny';
    return _path($value);
}

@kentfredric kentfredric added the bug label Feb 27, 2014

Owner

kentfredric commented Feb 28, 2014

Fixed in 09abc45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment