diff --git a/package.json b/package.json index 73d7cb9..8f3f7b4 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^7.1.0", "globals": "^15.9.0", + "husky": "^9.1.5", "lint-staged": "^15.2.9", "pre-commit": "^1.2.2", "prettier": "^3.3.3", diff --git a/src/index.js b/src/index.js index f9f2cef..2271cfd 100644 --- a/src/index.js +++ b/src/index.js @@ -236,7 +236,7 @@ export const generateOutput = async (config) => { spinner.start(); await new Promise((resolve) => { shell.exec(`npx get-graphql-schema ${config.endpoint} ${headerCli} -j > schema.json`, { async: true }, () => { - spinner.succeed(`Schema fetched from ${config.endpoint}`); + spinner.succeed(`Schema fetched from ${config.strippedEndpoint}`); resolve(); }); }); diff --git a/yarn.lock b/yarn.lock index e8ed575..117f0fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2668,6 +2668,11 @@ human-signals@^5.0.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28" integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ== +husky@^9.1.5: + version "9.1.5" + resolved "https://registry.yarnpkg.com/husky/-/husky-9.1.5.tgz#2b6edede53ee1adbbd3a3da490628a23f5243b83" + integrity sha512-rowAVRUBfI0b4+niA4SJMhfQwc107VLkBUgEYYAOQAbqDCnra1nYh83hF/MDmhYs9t9n1E3DuKOrs2LYNC+0Ag== + ignore@^5.2.0, ignore@^5.2.4: version "5.3.2" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5"