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

feat(source param): Call macro with additional source parameter #70

Merged
merged 4 commits into from
Jul 13, 2018

Conversation

Andarist
Copy link
Contributor

@Andarist Andarist commented Jul 9, 2018

Useful for relative macro paths - when I want to convert a macro import to sibling, regular, file.

@kentcdodds
Copy link
Owner

Gotcha. Makes sense. Could you update docs as well?

@kentcdodds
Copy link
Owner

Oh, and the snapshots are failing, those will need an update 👍

Thanks!

@Andarist
Copy link
Contributor Author

Sure, most of tests are failing on my machine though and I dont know why yet (IMHO they shouldnt). This is not a priority to me so it will have to wait some time before I get back to it - I definitely will get back to it though... eventually 😉

@Andarist
Copy link
Contributor Author

Actually instead of fixing the issues on my machine I just fixed failing test based on CI report 😅

It is now failing on something different and it seems unrelated to my PR, could you take a look (maybe you'd have some insight on what might be going wrong)?

@codecov
Copy link

codecov bot commented Jul 13, 2018

Codecov Report

Merging #70 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #70   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines          77     77           
  Branches       18     18           
=====================================
  Hits           77     77
Impacted Files Coverage Δ
src/index.js 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7ff6cca...6b956a9. Read the comment docs.

@kentcdodds kentcdodds merged commit 6290565 into kentcdodds:master Jul 13, 2018
.eslintcache Outdated
@@ -1 +0,0 @@
{"/Users/mateuszburzynski/Desktop/babel-plugin-macros/src/__tests__/index.js":{"size":7797,"mtime":1531302441000,"hashOfConfig":"19k0y1k","results":{"filePath":"/Users/mateuszburzynski/Desktop/babel-plugin-macros/src/__tests__/index.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}}}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

lol, havent noticed that I've committed this

@Andarist Andarist deleted the patch-1 branch July 13, 2018 17:06
@Andarist
Copy link
Contributor Author

Thanks for taking care of this. I should have looked into diff on GitHub - would've noticed then that I've accidentally made those mistakes >.<

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

Successfully merging this pull request may close these issues.

2 participants