Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Jun 13, 2020
1 parent 3e57467 commit 2f85911
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/get-context/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ export default async function getContext<T> (
forceHoistPattern: opts.forceHoistPattern,
hoistPattern: opts.hoistPattern,

publicHoistPattern: opts.publicHoistPattern,
forcePublicHoistPattern: opts.forcePublicHoistPattern,
publicHoistPattern: opts.publicHoistPattern,
})
if (purged) {
importersContext = await readProjectsContext(projects, {
Expand Down
3 changes: 3 additions & 0 deletions packages/hoist/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
{
"path": "../lockfile-walker"
},
{
"path": "../matcher"
},
{
"path": "../symlink-dependency"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/modules-yaml/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export function write (
if (!saveModules.publicHoistPattern) {
delete saveModules.publicHoistPattern
}
if (!saveModules.hoistedAliases) {
saveModules.hoistedAliases = {}
if (!saveModules.hoistedAliases || !saveModules.hoistPattern && !saveModules.publicHoistPattern) {
delete saveModules.hoistedAliases
}
// We should store the absolute virtual store directory path on Windows
// because junctions are used on Windows. Junctions will break even if
Expand Down

0 comments on commit 2f85911

Please sign in to comment.