Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed Nov 10, 2024
1 parent cfd1cfb commit d36b08d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
11 changes: 3 additions & 8 deletions code-pushup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -61,7 +56,7 @@ export default mergeConfigs(
],
},
],
},
// await jsPackagesCoreConfig(),
// await eslintCoreConfigNx()
}
// await jsPackagesCoreConfig(),
// await eslintCoreConfigNx()
);
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit d36b08d

Please sign in to comment.