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

Make config path dynamic according to package.json #583

Merged
merged 1 commit into from
Sep 13, 2020
Merged

Make config path dynamic according to package.json #583

merged 1 commit into from
Sep 13, 2020

Conversation

ming-codes
Copy link
Contributor

Close #582

Copy link
Contributor

@bobisjan bobisjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ming-codes for making this 👍, just left minor question.

@@ -15,6 +15,19 @@ module.exports = {
};
},

fileMapTokens() {
const absPath = this.project.configPath(); // I can use this, but relative is better
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is relative better?

Would it make sense to describe the reason in comment instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😂Fragments of a reminder for myself when I got distracted. Anyway...

The file path is actually logged to the console when you generate the file. It can get long and wouldn’t be very useful to see the full path.

I can add a better explanation

@ming-codes ming-codes requested a review from bobisjan September 9, 2020 00:10
@bobisjan bobisjan added the bug Something isn't working label Sep 13, 2020
@bobisjan bobisjan merged commit 11bfe64 into zonkyio:master Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

configurationPath is being hardcoded to config/
2 participants