-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jason/fix double quotes issue (#1491)
* Fix double quotes issue * Fix escape * Test double quotes "" * "Test double quotes" * Replace git info command with shell script in package.json * Test "double quotes" * Add shell desc * Test "double quotes"
- Loading branch information
Showing
2 changed files
with
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
info=`git log -1 --oneline | sed 's/\"//g'` | ||
echo "const info = {logMessage: \"$info\"}; export default info;" > src/static/gitInfo.ts |
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