Skip to content

Commit

Permalink
update components
Browse files Browse the repository at this point in the history
  • Loading branch information
PLCHome committed Aug 13, 2024
1 parent 220d3d2 commit e0b4498
Show file tree
Hide file tree
Showing 4 changed files with 199 additions and 212 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 22.x]

steps:
- name: Checkout source Code
Expand All @@ -52,7 +52,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -84,11 +84,10 @@ jobs:
if: |
contains(github.event.head_commit.message, '[skip ci]') == false &&
github.event_name == 'push' &&
github.event.base_ref == 'refs/heads/master' &&
startsWith(github.ref, 'refs/tags/v')
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion lib/growatt.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ module.exports = class growatt {
resolve(res.data);
} else if (res.data && res.data.result) {
debugApi('getDevicesByPlantList reject:', res.data);
// reject(new Error(JSON.stringify(res.data, getJSONCircularReplacer())));
// reject(new Error(JSON.stringify(res.data, getJSONCircularReplacer())));
resolve({});
} else {
debugApi('getDevicesByPlantList reject');
Expand Down
Loading

0 comments on commit e0b4498

Please sign in to comment.