-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
bugSomething isn't workingSomething isn't working
Description
nx affected fails since we have the 'master' branch instead of the 'main' branch. We should specify the base branch in the command to resolve this or rename the 'master' branch to 'main'.
Output for `npm run all`
npm run allroot@0.0.6 all
nx affected --target=lint:prettier,lint,build,test
NX Affected criteria defaulted to --base=main --head=HEAD
fatal: ambiguous argument 'main': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
NX Command failed: git diff --name-only --no-renames --relative "main" "HEAD"
fatal: ambiguous argument 'main': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
Pass --verbose to see the stacktrace.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working