Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.
This repository was archived by the owner on Dec 1, 2019. It is now read-only.

[2.0.1] Paths resolving incorrectly when baseUrl:'' #184

@TheLarkInn

Description

@TheLarkInn

ATL Version: 2.0.1
Typescript Version: typescript@next

Expected Behavior: When you set baseUrl to an empty string (''), it should default to path.dirname(configFilePath).

Actual Behavior: Currently instead of being the path relative to the config file, it is resolving to the directory that the process was run in (process.cwd()).

Below is a small illustration showing the concern.
screen shot 2016-07-09 at 1 05 51 pm

I will hopefully get a PR in once I've verified it fixes the problem.

PS. Paths should be ignored when the baseUrl property is NOT in the config, however should still work when baseUrl:''

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions