From 241ceea80ed71c7a073ed6e0e57ef862003e7d92 Mon Sep 17 00:00:00 2001 From: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Date: Wed, 30 Oct 2024 08:58:41 -0400 Subject: [PATCH] review: address PR feedback Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> --- .husky/commit-msg | 3 +-- .../cli/list/cli.list.profile-args.integration.test.ts | 2 +- package-lock.json | 8 ++++---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 670fd57..fa3eb25 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,6 +1,5 @@ -#!/bin/sh # If not a merge commit, require commit to be signed off -if [ ! -e .git/MERGE_MSG ] && ! grep -q "^Signed-off-by: " "$1"; then +if [ ! -e $(git rev-parse --git-dir)/MERGE_MSG ] && ! grep -q "^Signed-off-by: " "$1"; then echo >&2 "Commit message must be signed off with your user name and email." echo >&2 "To sign off your commit, add the -s flag to the git commit command." exit 1 diff --git a/__tests__/__integration__/cli/list/cli.list.profile-args.integration.test.ts b/__tests__/__integration__/cli/list/cli.list.profile-args.integration.test.ts index 5161057..73c8558 100644 --- a/__tests__/__integration__/cli/list/cli.list.profile-args.integration.test.ts +++ b/__tests__/__integration__/cli/list/cli.list.profile-args.integration.test.ts @@ -10,7 +10,7 @@ import * as fs from "fs"; import * as path from "path"; -import { ITestEnvironment, TestEnvironment, runCliScript, isStderrEmptyForProfilesCommand, stripProfileDeprecationMessages } from "@zowe/cli-test-utils"; +import { ITestEnvironment, TestEnvironment, runCliScript, stripProfileDeprecationMessages } from "@zowe/cli-test-utils"; import { ITestPropertiesSchema } from "../../../__src__/environment/doc/ITestPropertiesSchema"; // Test environment will be populated in the "beforeAll" diff --git a/package-lock.json b/package-lock.json index 78b0f03..8bb54f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "eslint-plugin-license-header": "^0.6.1", "eslint-plugin-unused-imports": "^2.0.0", "fs-extra": "^8.1.0", - "husky": "^9.1.6", + "husky": "^9.0.10", "jest": "^27.5.1", "jest-cli": "^27.5.1", "jest-environment-node": "^27.5.1", @@ -7915,9 +7915,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001674", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001674.tgz", - "integrity": "sha512-jOsKlZVRnzfhLojb+Ykb+gyUSp9Xb57So+fAiFlLzzTKpqg8xxSav0e40c8/4F/v9N8QSvrRRaLeVzQbLqomYw==", + "version": "1.0.30001675", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001675.tgz", + "integrity": "sha512-/wV1bQwPrkLiQMjaJF5yUMVM/VdRPOCU8QZ+PmG6uW6DvYSrNY1bpwHI/3mOcUosLaJCzYDi5o91IQB51ft6cg==", "dev": true, "funding": [ {