Skip to content

Commit

Permalink
feat(script): update generate_list.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
abgox committed Jun 5, 2024
1 parent 116cd52 commit cc7776f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/generate_list.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ function generate_list {
}

$lang_info = handle_language
$info_EN += $lang_info -join ' '
$info_CN += $lang_info -join ' '
$info_EN += $lang_info -join '<br>'
$info_CN += $lang_info -join '<br>'

# Description
## EN
Expand Down Expand Up @@ -151,7 +151,7 @@ function handle($lang) {
function get_static_content($path) {
$content = Get-Content -Path $path -Encoding UTF8

$match = $content | Select-String -Pattern "\|:-:\|:-:\|-\|"
$match = $content | Select-String -Pattern "\|:-:\|-\|-\|"

if ($match) {
$matchLineNumber = ([array]$match.LineNumber)[0]
Expand Down

0 comments on commit cc7776f

Please sign in to comment.