HomePhorge

Use expand_path to normalize paths in autoloader
de8ade81a293Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Use expand_path to normalize paths in autoloader

Just using Pathname#cleanpath didn't properly convert \ to / on windows. Using
both should give correct normalized paths. This also cleans up the specs to
work better with Windows paths, as problems there were revealed by this
change.

Details

Provenance
Patrick Carlisle <patrick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU21ae4046b4bf: Merge branch '2.7.x'
Branches
Unknown
Tags
Unknown

Event Timeline

Patrick Carlisle <patrick@puppetlabs.com> committed rPUde8ade81a293: Use expand_path to normalize paths in autoloader (authored by Patrick Carlisle <patrick@puppetlabs.com>).Apr 30 2012, 7:47 PM