Skip to content

Commit

Permalink
fix(build): fluidattacks#967 nodejs binaries
Browse files Browse the repository at this point in the history
- allow bin to be empty as some packages require it

Signed-off-by: David Acevedo <dacevedoa12@gmail.com>
  • Loading branch information
dacevedo12 committed Oct 13, 2022
1 parent d980dbf commit b5efffd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Daniel Murcia <danmur97@outlook.com> Daniel Murcia <42251914+danmur97@users.nore
Daniel Salazar <podany270895@gmail.com> Daniel Salazar <dsalaza4@eafit.edu.co>
Daniel Salazar <podany270895@gmail.com> Daniel Salazar <dsalazar@fluidattacks.com>
Daniel Salazar <podany270895@gmail.com> Daniel Salazar <podany270895@gmail.com>
David Acevedo <dacevedoa12@gmail.com> David Acevedo <dacevedoa12@gmail.com>
David Arnold <david.arnold@iohk.io> David Arnold <david.arnold@iohk.io>
David Arnold <david.arnold@iohk.io> David Arnold <dgx.arnold@gmail.com>
Diego Restrepo <drestrepo@fluidattacks.com> Diego Restrepo Mesa <36453706+drestrepom@users.noreply.github.com>
Expand Down
4 changes: 2 additions & 2 deletions src/args/make-node-js-modules/builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ function main {
&& case "${bin_type}" in
object)
info Generating binaries from "${package_json}" \
&& jq -er '.bin | to_entries[].key' < "${package_json}" > bins.lst \
&& jq -er '.bin | to_entries[].value' < "${package_json}" > bin_locations.lst \
&& jq -r '.bin | to_entries[].key' < "${package_json}" > bins.lst \
&& jq -r '.bin | to_entries[].value' < "${package_json}" > bin_locations.lst \
&& mapfile -t bins < bins.lst \
&& mapfile -t bin_locations < bin_locations.lst \
&& for ((index = 0; index < "${#bins[@]}"; index++)); do
Expand Down

0 comments on commit b5efffd

Please sign in to comment.