Skip to content

Commit

Permalink
🩹 fix(patch): windows bootstrap path resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
kellymears committed Aug 12, 2024
1 parent ebfb53a commit 882a33f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
32 changes: 16 additions & 16 deletions sources/@repo/yarn-plugin-bud/bundles/@yarnpkg/plugin-bud.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion sources/@roots/bud-framework/src/bootstrap/files/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import type {InspectResult} from '@roots/filesystem/filesystem'

import {builtinModules} from 'node:module'
import {join, parse} from 'node:path'
import {normalize} from 'path/posix'

import {get as getPaths} from '@roots/bud-framework/bootstrap/paths'
import {BudError} from '@roots/bud-support/errors'
Expand Down Expand Up @@ -134,7 +135,7 @@ async function getFileInfo(filename: string) {
...omit(inspect, `absolutePath`, `type`, `filename`),
bud: inspect.name.includes(`bud`),
local: inspect.name.includes(`local`),
path: inspect.absolutePath,
path: normalize(inspect.absolutePath),
target: getFileTarget(inspect),
type: getFileType(inspect, parsed),
...parsed,
Expand Down

0 comments on commit 882a33f

Please sign in to comment.