Skip to content

Commit

Permalink
Merge pull request #14 from vc-rakesh/main
Browse files Browse the repository at this point in the history
fix: close double quotes
  • Loading branch information
palaklive authored Jan 9, 2024
2 parents 71a6a4f + e794d6e commit 14fd7b3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
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

0 comments on commit 14fd7b3

Please sign in to comment.