Skip to content

Commit

Permalink
Fix missing directory (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Sep 25, 2021
1 parent 0893d6b commit e59776a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ function run_build() {

function convert_to_json() {
# Convert [build|config].[yml|yaml] to json in a temp directory
mkdir -p /tmp/build_config
for file in config build; do
if bashio::fs.file_exists "${TARGET}/${file}.yml"; then
yq e -N -M -o=json "${TARGET}/${file}.yml" > "/tmp/build_config/${file}.json"
Expand Down

0 comments on commit e59776a

Please sign in to comment.