Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use datapackage's base path when loading custom profiles #195

Closed
vitorbaptista opened this issue Dec 13, 2017 · 1 comment · Fixed by #259
Closed

Use datapackage's base path when loading custom profiles #195

vitorbaptista opened this issue Dec 13, 2017 · 1 comment · Fixed by #259
Labels

Comments

@vitorbaptista
Copy link
Contributor

For example, consider the datapackage:

{
    "name": "test",
    "title": "Test",
    "profile": "my-data-profile.json"
}

The my-data-profile.json should be loaded relative to the datapackage.json path, otherwise we would need to use the absolute path, which isn't portable.

@roll
Copy link
Member

roll commented Dec 13, 2017

If it doesn't use the data package directory for now - it's a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants