Skip to content

Commit e0b4498

Browse files
committed
update components
1 parent 220d3d2 commit e0b4498

File tree

4 files changed

+199
-212
lines changed

4 files changed

+199
-212
lines changed

.github/workflows/test-and-release.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
strategy:
2727
matrix:
28-
node-version: [16.x, 18.x, 20.x]
28+
node-version: [18.x, 20.x, 22.x]
2929

3030
steps:
3131
- name: Checkout source Code
@@ -52,7 +52,7 @@ jobs:
5252

5353
strategy:
5454
matrix:
55-
node-version: [16.x, 18.x, 20.x]
55+
node-version: [18.x, 20.x, 22.x]
5656
os: [ubuntu-latest, windows-latest, macos-latest]
5757

5858
runs-on: ${{ matrix.os }}
@@ -84,11 +84,10 @@ jobs:
8484
if: |
8585
contains(github.event.head_commit.message, '[skip ci]') == false &&
8686
github.event_name == 'push' &&
87-
github.event.base_ref == 'refs/heads/master' &&
8887
startsWith(github.ref, 'refs/tags/v')
8988
strategy:
9089
matrix:
91-
node-version: [16.x, 18.x, 20.x]
90+
node-version: [18.x, 20.x, 22.x]
9291
os: [ubuntu-latest, windows-latest, macos-latest]
9392

9493
runs-on: ${{ matrix.os }}

lib/growatt.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ module.exports = class growatt {
294294
resolve(res.data);
295295
} else if (res.data && res.data.result) {
296296
debugApi('getDevicesByPlantList reject:', res.data);
297-
// reject(new Error(JSON.stringify(res.data, getJSONCircularReplacer())));
297+
// reject(new Error(JSON.stringify(res.data, getJSONCircularReplacer())));
298298
resolve({});
299299
} else {
300300
debugApi('getDevicesByPlantList reject');

0 commit comments

Comments
 (0)