Skip to content

Commit

Permalink
Allow there _not_ to be scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
danfuzz committed Dec 5, 2023
1 parent 764ef51 commit bad13bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/lib/bashy-node/node-project/build-main-module
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ function copy-scripts {
local srcDir="$1/bin"
local destDir="$2/bin"

if [[ ! -d "${srcDir}" ]]; then
return
fi

# Get a JSON array of all the files.
local fileList
fileList="$(lib ls-files --output=array --cd="${srcDir}" --depth=1)" \
Expand Down

0 comments on commit bad13bf

Please sign in to comment.