Skip to content

Commit

Permalink
fix: fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Mar 9, 2020
1 parent 315add6 commit 9d948e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as core from '@actions/core';
import * as main from './main';
import {run} from './main';

(async (): Promise<void> => {
try {
await main.run();
await run();
} catch (error) {
core.setFailed(`Action failed with error "${error.message}"`);
}
Expand Down

0 comments on commit 9d948e7

Please sign in to comment.