Skip to content

Commit

Permalink
updated formatting of github workflow yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wesone committed Apr 17, 2021
1 parent b33182e commit 8550b5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ name: build

on:
push:
branches: [master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
test:

runs-on: ubuntu-latest

strategy:
Expand Down
4 changes: 2 additions & 2 deletions src/core/workflow/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ class Workflow
failed: 'boolean',
createdAt: 'date',
updatedAt: 'date',
},[
}, [
{fields: ['name', 'id', 'createdPosition'], primaryKey: true}
]);
}
Expand All @@ -301,7 +301,7 @@ class Workflow
{
return; // internal event
}
eventHandlers[name] = async ( _, event, sideEffects) => {
eventHandlers[name] = async (_, event, sideEffects) => {
this.setSideEffects(sideEffects);
await this.loadState(event);
try
Expand Down

0 comments on commit 8550b5e

Please sign in to comment.