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

fix: close double quotes #14

Merged
merged 2 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.0.2

_Jan 9, 2024_

- Fix the double quotation issue in the commands scripts.lint and scripts.prepare

## 2.0.1

_Jan 8, 2024_
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,14 @@ async function init() {
angular: 'ng lint',
};

execSync(`npm pkg set scripts.lint="${eslintRunCmds[technology]}`, {
execSync(`npm pkg set scripts.lint="${eslintRunCmds[technology]}"`, {
stdio: "inherit",
});

console.log("Required plugins installed successfully.");

console.log("Adding husky script");
execSync(`npm pkg set scripts.prepare="husky install`, {
execSync(`npm pkg set scripts.prepare="husky install"`, {
stdio: "inherit",
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vcian/lint-sage",
"version": "2.0.1",
"version": "2.0.2",
"description": "This package designed to simplify the configuration of your projects. This package automates the setup of essential tools and configurations to ensure a clean and consistent codebase.",
"bin": {
"lint-sage": "index.js"
Expand Down