Skip to content

Commit

Permalink
fix(format): fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jogelin committed Dec 12, 2024
1 parent acf3883 commit cd7fff1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
key: ${{ runner.os }}-modules-${{ env.NODE_VERSION }}-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Install packages
# if: steps.cache-modules.outputs.cache-hit != 'true'
# if: steps.cache-modules.outputs.cache-hit != 'true'
run: pnpm install --frozen-lockfile

- uses: nrwl/nx-set-shas@v4
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin/generators.json
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
{
}
{}
5 changes: 1 addition & 4 deletions packages/plugin/src/utils/is-matching-plugin.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ import { CreateNodesV2 } from '@nx/devkit';
import { CreateNodesInternal } from './create-nodes-internal-builder.utils';
import { minimatch } from 'minimatch';

export function isMatchingPlugin<T extends Record<string, unknown>>(
createNodes: CreateNodesV2<T> | CreateNodesInternal<T>,
filePath: string
) {
export function isMatchingPlugin<T extends Record<string, unknown>>(createNodes: CreateNodesV2<T> | CreateNodesInternal<T>, filePath: string) {
const pluginPattern = createNodes[0];
return minimatch(filePath, pluginPattern);
}

0 comments on commit cd7fff1

Please sign in to comment.