From b8c616f3ac618a0eac1f286effa72c65b6edb6ce Mon Sep 17 00:00:00 2001 From: khalilou88 <32600911+khalilou88@users.noreply.github.com> Date: Thu, 28 Dec 2023 16:17:39 +0100 Subject: [PATCH] fix: add `windowsHide: true` (#719) * fix: add `windowsHide: true` * build: work in progress --------- Co-authored-by: khalilou88 --- packages/nx-gradle/src/graph/create-dependencies.ts | 1 + packages/nx-maven/src/utils/index.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/nx-gradle/src/graph/create-dependencies.ts b/packages/nx-gradle/src/graph/create-dependencies.ts index 341871756..43f2e5ccb 100644 --- a/packages/nx-gradle/src/graph/create-dependencies.ts +++ b/packages/nx-gradle/src/graph/create-dependencies.ts @@ -41,6 +41,7 @@ export const createDependencies: CreateDependencies = ( stdio: isVerbose ? 'inherit' : 'pipe', env: process.env, encoding: 'utf-8', + windowsHide: true, }); const projects: GradleProjectType[] = JSON.parse( diff --git a/packages/nx-maven/src/utils/index.ts b/packages/nx-maven/src/utils/index.ts index c48f6fa36..d629e126f 100644 --- a/packages/nx-maven/src/utils/index.ts +++ b/packages/nx-maven/src/utils/index.ts @@ -325,6 +325,7 @@ export function getLocalRepositoryPath(mavenRootDirAbsolutePath: string) { `${getExecutable()} help:evaluate -Dexpression=settings.localRepository -q -DforceStdout`, { cwd: mavenRootDirAbsolutePath, + windowsHide: true, }, ) .toString() @@ -421,6 +422,7 @@ export function getEffectiveVersion( `${getExecutable()} -f ${pomXmlRelativePath} help:evaluate -Dexpression=project.version -q -DforceStdout`, { cwd: mavenRootDirAbsolutePath, + windowsHide: true, }, ) .toString()