Skip to content

Commit 0e73af6

Browse files
committed
Lint nit
1 parent 4ae0d51 commit 0e73af6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/utils/package-environment.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,10 @@ export async function detectPackageEnvironment({
199199
let lockName = lockPath ? path.basename(lockPath) : undefined
200200
const isHiddenLockFile = lockName === HIDDEN_PACKAGE_LOCK
201201
const pkgJsonPath = lockPath
202-
? path.resolve(lockPath, `${isHiddenLockFile ? '../' : ''}../${PACKAGE_JSON}`)
202+
? path.resolve(
203+
lockPath,
204+
`${isHiddenLockFile ? '../' : ''}../${PACKAGE_JSON}`
205+
)
203206
: await findUp(PACKAGE_JSON, { cwd })
204207
const pkgPath =
205208
pkgJsonPath && existsSync(pkgJsonPath)

0 commit comments

Comments
 (0)