Skip to content

Migations path.join vs path.resolve giving C:/path/C:/path. #3671

@oliverfoster

Description

@oliverfoster

Have just come across an AAT issue related to this PR - specifically these lines. The AAT passes absolute paths, so we were getting something like C:/path/C:/path.

Switching from path.join to path.resolve fixes this for me

If we should be passing the rootDir somehow via the AAT, let me know (not sure if this is hooked up to the CLI API)

Originally posted by @taylortom in #3668 (comment)

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions