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

Support YML file argument #36

Merged
merged 2 commits into from
Sep 15, 2021

Conversation

comonadd
Copy link
Contributor

Implements #1

@rajasegar
Copy link
Owner

@comonadd can you please rebase to fix the conflicts?

@comonadd comonadd force-pushed the support-specific-file-theme branch from cabd5b1 to 4b4663a Compare September 15, 2021 13:43
@comonadd comonadd force-pushed the support-specific-file-theme branch from 4b4663a to e8541cf Compare September 15, 2021 13:45
@comonadd
Copy link
Contributor Author

Fixed

index.js Outdated
fs.existsSync(theme) && !fs.lstatSync(theme).isDirectory();
const themePath = isSpecificFile
? theme
: path.join(__dirname, `themes/${theme}.yml`);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
: path.join(__dirname, `themes/${theme}.yml`);
: themeFilePath(theme);

index.js Outdated
@@ -10,7 +10,6 @@ const {
alacrittyFileExists,
alacrittyTemplatePath,
isWindows,
themeFilePath,
Copy link
Collaborator

Choose a reason for hiding this comment

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

please, revert this and use it below

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Collaborator

Choose a reason for hiding this comment

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

@comonadd Thank you for your PR! 🔥

@JuanVqz JuanVqz merged commit 9f95045 into rajasegar:master Sep 15, 2021
JuanVqz pushed a commit that referenced this pull request Sep 16, 2021
* Support YML file argument

* Use themeFilePath for finding theme directory config file path
@rajasegar
Copy link
Owner

🎉 This PR is included in version 4.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants