diff --git a/.husky/pre-commit b/.husky/pre-commit index d8034aa..feacb38 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,2 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged npm run all diff --git a/dist/index.js b/dist/index.js index c7e308f..ab2fde9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -81,7 +81,7 @@ module.exports = { const defaultPython = isWindows() ? "python" : "python3"; try { - const version = getInput("version", /^[\d.*]+$/, "1.*"); + const version = getInput("version", /^[\d.*]+$/, "0.*"); const command = getInput("command", /^cfn-lint\s || null/, null); const python = getInput("python", /^.+$/, defaultPython); return { version, command, python }; diff --git a/package.json b/package.json index a8b9d87..dfa29f6 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "build": "ncc build index.js --out dist --license licenses.txt", "format": "prettier --write .", "all": "npm run format && npm test && npm run build", - "prepare": "husky install" + "prepare": "husky" }, "license": "MIT License", "dependencies": {