message: bug: Fix some issues with newlines dummy data for license
diff: @@ -50,20 +50,14 @@ if ( [ "$IS_BRANCH" == "true" ] && [ "$IS_PR" == "false" ] ) || [ "$IS_TAG" == "
  else
  echo -e "${YELLOW}+ WARNING: Branch not whitelisted OR PullRequest${NC}";
  echo "+ will write dummy data"
  - echo "
  -{
  + echo "{
  \"data\": [
  {\"name\":\"NO-DEP\",\"version\":\"0.0.1\",\"repository\":\"https://exmaple.com\",\"license\":\"MIT\",\"devDependency\":false},
  - {\"name\":\"NO-DEP\",\"version\":\"0.0.1\",\"repository\":\"https://exmaple.com\",\"license\":\"MIT\",\"devDependency\":true},
  + {\"name\":\"NO-DEP\",\"version\":\"0.0.1\",\"repository\":\"https://exmaple.com\",\"license\":\"MIT\",\"devDependency\":true}
  ]
  -}
  - " > api/nlf-licenses.json
  - FE_DATA="
  -new Dependency('NO-DEP', '0.0.1', 'https://example.com', 'MIT', false),
  -new Dependency('NO-DEP', '0.0.1', 'https://example.com', 'MIT', true)
  - "
  - FE_DATA=`echo $FE_DATA | tr '\n' "\\n"`
  - sed -i "s!// DEPENDENCY_REPLACE!$FE_DATA!" app/webFrontend/src/app/about/licenses/dependencies.ts
  +}" > ${DIR}/../api/nlf-licenses.json
  + DUMMY="new Dependency('NO-DEP', '0.0.1', 'https://example.com', 'MIT', false), new Dependency('NO-DEP', '0.0.1', 'https://example.com', 'MIT', true)"
  + sed -i '' "s|// DEPENDENCY_REPLACE|${DUMMY}|g" ${DIR}/../app/webFrontend/src/app/about/licenses/dependencies.ts
  fi
  echo
  