Skip to content

Commit

Permalink
fix: fix date format (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikpivkin committed Mar 13, 2023
1 parent eb02eb0 commit 9135016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scan2html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# help
function help() {
cat << EOS >&2
cat <<EOS >&2
scan2html v__VERSION__
Usage: trivy scan2html [-h,--help] command target filename
Expand All @@ -28,7 +28,7 @@ function scan {
cat $BASEDIR/first.html >$last_arg
echo "const trivyData = " >>$last_arg
cat $BASEDIR/data.js >>$last_arg
echo "const createdAt = $(date +%s%3N)" >>$last_arg
echo "const createdAt = $(date +%s%3)" >>$last_arg
cat $BASEDIR/second.html >>$last_arg
}

Expand Down

0 comments on commit 9135016

Please sign in to comment.