forked from asyncapi/spec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solving issue number #1080 which was showing deprecated output in con…
…sole. It was solved by adding install.sh which is a script to hide the deprecated output and modified validate-examples.yml by giving cmd to run install.sh this solve the issue
- Loading branch information
1 parent
97ea47f
commit 082ae94
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# Capture the output of npm install | ||
npm_install_output=$(npm install) | ||
|
||
# Remove deprecation warnings (example using sed) | ||
modified_output=$(echo "$npm_install_output" | sed '/WARN/d') | ||
|
||
# Displaying the modified output | ||
echo "$modified_output" | ||
|
||
# Optional: Adding success message | ||
echo "Async API installed successfully!" |