Skip to content

Commit

Permalink
fix permissions for remix bin
Browse files Browse the repository at this point in the history
  • Loading branch information
pcattori committed Jan 31, 2024
1 parent 8b1ad8d commit e4f936a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ exec("yarn", ["rollup", "-c"])
);
process.exit(1);
}
console.log(`Local build dir: ${LOCAL_BUILD_DIRECTORY}`);
fse.copySync("build", appDir);
fse.copySync("build", appDir, { overwrite: true });
fse.chmodSync(path.join(appDir, "node_modules/.bin/remix"), 0o755);
}
})
.then(() => publish && exec("node", ["scripts/copy-build-to-dist.mjs"]))
Expand Down

0 comments on commit e4f936a

Please sign in to comment.