diff --git a/code-pushup.config.ts b/code-pushup.config.ts index 464d2232..6007bde2 100644 --- a/code-pushup.config.ts +++ b/code-pushup.config.ts @@ -4,11 +4,6 @@ import nxPerformancePlugin, { } from './tooling/measures/nx-performance/nx-performance.plugin'; import { TaskTimeAuditOption } from './tooling/measures/nx-performance'; import { mergeConfigs } from '@code-pushup/utils'; -import { - eslintCoreConfigNx, - jsPackagesCoreConfig, - coverageCoreConfigNx, -} from './code-pushup.preset'; const onlyAudits: OnlyAudit[] = [ 'graph-time-project', @@ -61,7 +56,7 @@ export default mergeConfigs( ], }, ], - }, - // await jsPackagesCoreConfig(), - // await eslintCoreConfigNx() + } + // await jsPackagesCoreConfig(), + // await eslintCoreConfigNx() ); diff --git a/projects/nx-verdaccio/src/executors/env-teardown/teardown-env.ts b/projects/nx-verdaccio/src/executors/env-teardown/teardown-env.ts index 6a19aacd..8f3729cd 100644 --- a/projects/nx-verdaccio/src/executors/env-teardown/teardown-env.ts +++ b/projects/nx-verdaccio/src/executors/env-teardown/teardown-env.ts @@ -31,7 +31,14 @@ export async function teardownEnvironment( return; } - const environmentRootInRepo = await isFolderInGit(environmentRoot); + let environmentRootInRepo = false; + try { + environmentRootInRepo = await isFolderInGit(environmentRoot); + } catch (error) { + logger.verbose( + `Error checking if ${environmentRoot} is in a git repository: ${error.message}` + ); + } if (environmentRootInRepo) { await gitClient.checkout([environmentRoot]); await gitClient.clean('f', [environmentRoot]);