Skip to content

Commit

Permalink
chore(core): test ci with dummy PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ndcunningham committed Dec 13, 2024
1 parent 5d8a4e3 commit 1301e36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/js/src/generators/library/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export async function libraryGeneratorInternal(
]);
}

if (options.isUsingTsSolutionConfig && options.unitTestRunner !== 'none') {
if (options.unitTestRunner !== 'none' && options.isUsingTsSolutionConfig) {
updateJson(
tree,
joinPathFragments(options.projectRoot, 'tsconfig.spec.json'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function updateTsconfig(tree: Tree, schema: Schema) {
normalizePath(path),
projectMapping
);
if (project === schema.projectName) {
if (schema.projectName === project) {
delete json.compilerOptions.paths[importPath];
break;
}
Expand Down

0 comments on commit 1301e36

Please sign in to comment.