Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(utils): add line break
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron Netzer committed Jun 29, 2021
1 parent 157ea79 commit fda4c20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: npm ci --cache .npm

- name: Calculate affected
uses: e-square-io/nx-affected-matrix@v1
uses: ./dist/packages/nx-affected-matrix
id: affected
with:
targets: 'test,build'
Expand Down
1 change: 1 addition & 0 deletions packages/utils/src/lib/nx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export async function nxCommand(command: string, target: string, exec: Exec, arg

export async function nxPrintAffected(target: string, exec: Exec): Promise<string[]> {
const projects = (await nxCommand('print-affected', target, exec, ['--select=tasks.target.project'])).trim();

debug(`🐞 Affected project for ${target}: ${projects}`);

return projects.split(', ');
Expand Down

0 comments on commit fda4c20

Please sign in to comment.