-
Notifications
You must be signed in to change notification settings - Fork 71
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
Support YML file argument #36
Conversation
@comonadd can you please rebase to fix the conflicts? |
cabd5b1
to
4b4663a
Compare
4b4663a
to
e8541cf
Compare
Fixed |
index.js
Outdated
fs.existsSync(theme) && !fs.lstatSync(theme).isDirectory(); | ||
const themePath = isSpecificFile | ||
? theme | ||
: path.join(__dirname, `themes/${theme}.yml`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
: path.join(__dirname, `themes/${theme}.yml`); | |
: themeFilePath(theme); |
index.js
Outdated
@@ -10,7 +10,6 @@ const { | |||
alacrittyFileExists, | |||
alacrittyTemplatePath, | |||
isWindows, | |||
themeFilePath, |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
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! 🔥
* Support YML file argument * Use themeFilePath for finding theme directory config file path
🎉 This PR is included in version 4.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Implements #1