Skip to content

Commit

Permalink
cd into package before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
djobbo committed Apr 25, 2024
1 parent f7242ae commit b483e17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/publish-dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ logInfo(
)}`,
)

const packageJsonPath = packageFolder + "/package.json"
await $`cd ${packageFolder}`
const packageJsonPath = "./package.json"

if (!dryRun) {
const packageJson = await Bun.file(packageJsonPath).json()
Expand Down

0 comments on commit b483e17

Please # to comment.