Skip to content

Commit

Permalink
Fix tar archive path
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettjstevens committed Jan 17, 2022
1 parent 17d0f5c commit c4ba67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function main() {
if (location === 'packages/core') {
const files = fs.readdirSync(location)
const tarball = files.find(fileName => fileName.endsWith('.tgz'))
fs.unlinkSync(tarball)
fs.unlinkSync(path.join(location, tarball))
location = path.join(location, 'dist')
const { signal, status } = spawn.sync(
'yarn',
Expand Down

0 comments on commit c4ba67b

Please sign in to comment.