Skip to content

Commit

Permalink
refactor(scripts): replace multiple echo with printf
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Jan 27, 2025
1 parent 4fec66b commit a7a04d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
},
"type": "module",
"scripts": {
"info:deprecated": "echo '' && echo 'πŸ—‘οΈ This command is deprecated, and will be removed soon.' && echo ''",
"info:rari": "echo '' && echo 'πŸ₯ This command is now using rari: https://github.com/mdn/rari' && echo '🐞 Please report any issues here: https://github.com/mdn/rari/issues/new?template=bug.yml' && echo ''",
"info:deprecated": "printf '\\nπŸ—‘οΈ This command is deprecated, and will be removed soon.\\n\\n'",
"info:rari": "printf '\\nπŸ₯ This command is now using rari: https://github.com/mdn/rari\\n🐞 Please report any issues here: https://github.com/mdn/rari/issues/new?template=bug.yml\\n\\n'",
"postinstall": "node scripts/update-history.js",
"build": "yarn -s info:rari && env-cmd --silent cross-env CONTENT_ROOT=files BUILD_OUT_ROOT=build rari-build",
"build:legacy": "yarn -s info:deprecated && env-cmd --silent cross-env CONTENT_ROOT=files BUILD_OUT_ROOT=build yari-build",
Expand Down

0 comments on commit a7a04d0

Please sign in to comment.