From 17aa341c4678381230449d7ad48825ffb351d4e4 Mon Sep 17 00:00:00 2001 From: purple Date: Wed, 1 Nov 2023 13:44:24 +0100 Subject: [PATCH] feat(lib-db): Don't add linebreaks for new lib-db values. --- blueprint/lib/db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprint/lib/db.sh b/blueprint/lib/db.sh index faf7a3a..11321fc 100644 --- a/blueprint/lib/db.sh +++ b/blueprint/lib/db.sh @@ -7,7 +7,7 @@ FLDR=$BLUEPRINT__FOLDER"/.blueprint/data/internal/db/database" dbAdd() { # dbAdd "database.record"; - sed -i "s/+ db.addnewrecord;/* ${1};\n+ db.addnewrecord;/g" $FLDR > /dev/null; + sed -i "s/+ db.addnewrecord;/* ${1};+ db.addnewrecord;/g" $FLDR > /dev/null; }; dbValidate() { # dbValidate "database.record"; grep -Fxq "* ${1};" $FLDR > /dev/null;