We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1ec623 commit f66acb4Copy full SHA for f66acb4
src/index.js
@@ -153,8 +153,8 @@ const plugin = function (babel, options = {}) {
153
} = options;
154
155
// Always use auto-detected values
156
- const repoName = currentRepoName;
157
- const branch = currentBranch;
+ const repoName = options.repo_name ? options.repo_name : currentRepoName;
+ const branch = options.branch_name ? options.branch_name : currentRepoName;
158
159
return {
160
name: "babel-plugin-codepress-html",
0 commit comments