Skip to content

Commit

Permalink
fix: add windowsHide: true (#719)
Browse files Browse the repository at this point in the history
* fix: add `windowsHide: true`

* build: work in progress

---------

Co-authored-by: khalilou88 <[email protected]>
  • Loading branch information
khalilou88 and khalilou88 authored Dec 28, 2023
1 parent 43d945d commit b8c616f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/nx-gradle/src/graph/create-dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 2 additions & 0 deletions packages/nx-maven/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ export function getLocalRepositoryPath(mavenRootDirAbsolutePath: string) {
`${getExecutable()} help:evaluate -Dexpression=settings.localRepository -q -DforceStdout`,
{
cwd: mavenRootDirAbsolutePath,
windowsHide: true,
},
)
.toString()
Expand Down Expand Up @@ -421,6 +422,7 @@ export function getEffectiveVersion(
`${getExecutable()} -f ${pomXmlRelativePath} help:evaluate -Dexpression=project.version -q -DforceStdout`,
{
cwd: mavenRootDirAbsolutePath,
windowsHide: true,
},
)
.toString()
Expand Down

0 comments on commit b8c616f

Please sign in to comment.