Skip to content

Commit 7399476

Browse files
authored
Merge pull request #53 from guMcrey/hotfix/array-warning
Hotfix/array warning
2 parents 735591f + 2cc40ef commit 7399476

6 files changed

Lines changed: 25 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: CI
22
on:
33
push:
4-
branches: [ "main" ]
4+
branches: ['main']
55
pull_request:
6-
branches: [ "main" ]
6+
branches: ['main']
77

88
# Allows you to run this workflow manually from the Actions tab
99
workflow_dispatch:
@@ -20,7 +20,7 @@ jobs:
2020
npm ci
2121
npm run build
2222
npm run test:coverage
23-
npm run codecov
23+
# npm run codecov
2424
2525
- name: Upload coverage to Codecov
2626
uses: codecov/codecov-action@v4

CHANGELOG.en-US.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66

77
---
88

9+
## 1.7.4
10+
11+
`2024-10-15`
12+
13+
[#52](https://github.com/guMcrey/version-rocket/issues/52) (Thanks to [wjp980108](https://github.com/wjp980108) for the feedback)
14+
- 🪲 Fix the `config.check-origin-specified-files-url`
15+
16+
917
## 1.7.3
1018

1119
`2024-09-19`

CHANGELOG.zh-CN.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66

77
---
88

9+
## 1.7.4
10+
11+
`2024-10-15`
12+
13+
[#52](https://github.com/guMcrey/version-rocket/issues/52) (感谢 [wjp980108](https://github.com/wjp980108) 同学的反馈)
14+
- 🪲 Fix the warning message when the `config.check-origin-specified-files-url` field is not provided.
15+
16+
917
## 1.7.3
1018

1119
`2024-09-19`

index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ export const checkVersion = (
100100
}
101101

102102
const processUserInput = (input: any) => {
103+
if (!input) {
104+
return
105+
}
103106
if (!Array.isArray(input)) {
104107
console.warn('Invalid input: Expected an array.')
105108
return []

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "version-rocket",
3-
"version": "1.7.3",
3+
"version": "1.7.4",
44
"description": "Tools to check version monitoring (updates) for web application. web 应用版本监测(更新)工具",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)