Skip to content

Commit

Permalink
feat: merge git branch lockfiles unsupported in headless
Browse files Browse the repository at this point in the history
  • Loading branch information
chengcyber committed Mar 27, 2022
1 parent a4369ef commit 8c0cfb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/headless/src/index.ts
Expand Up @@ -137,7 +137,6 @@ export interface HeadlessOptions {
enableModulesDir?: boolean
nodeLinker?: 'isolated' | 'hoisted' | 'pnp'
useGitBranchLockfile?: boolean
mergeGitBranchLockfiles?: boolean
}

export default async (opts: HeadlessOptions) => {
Expand All @@ -150,7 +149,8 @@ export default async (opts: HeadlessOptions) => {
const wantedLockfile = opts.wantedLockfile ?? await readWantedLockfile(lockfileDir, {
ignoreIncompatible: false,
useGitBranchLockfile: opts.useGitBranchLockfile,
mergeGitBranchLockfiles: opts.mergeGitBranchLockfiles,
// mergeGitBranchLockfiles is intentionally not supported in headless
mergeGitBranchLockfiles: false,
})

if (wantedLockfile == null) {
Expand Down

0 comments on commit 8c0cfb3

Please sign in to comment.