Skip to content

Commit

Permalink
Fix binding property initializer (#25)
Browse files Browse the repository at this point in the history
* Fix this binding using property initializer syntax
* update packages
* remove broken test
  • Loading branch information
chriskinsman authored May 21, 2022
1 parent 7587327 commit aee3894
Show file tree
Hide file tree
Showing 8 changed files with 2,451 additions and 3,220 deletions.
21 changes: 11 additions & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
module.exports = {
"env": {
"browser": true,
"es2020": true
},
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"rules": {
}
env: {
browser: true,
es2020: true,
},
parser: "@babel/eslint-parser",
parserOptions: {
ecmaVersion: 11,
requireConfigFile: false,
sourceType: "module",
},
rules: {},
};
4 changes: 2 additions & 2 deletions actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class Actions {
debug("merged runs", this._runs);
}

async refreshRuns() {
refreshRuns = async () => {
// Prevent re-entrant calls
if (this._refreshingRuns) {
return;
Expand Down Expand Up @@ -160,7 +160,7 @@ class Actions {
debug("Finished refreshing runs");
this._refreshingRuns = false;
}
}
};

async refreshWorkflow(repoOwner, repoName, workflowId) {
const runs = await this.getMostRecentRuns(repoOwner, repoName, workflowId);
Expand Down
Loading

0 comments on commit aee3894

Please sign in to comment.