Skip to content

Commit

Permalink
fix: fixed ReferenceError on require vs import
Browse files Browse the repository at this point in the history
  • Loading branch information
SethCohen committed Aug 24, 2022
1 parent 5001ed0 commit 233db9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const core = require('@actions/core');
const github = require('@actions/github');
import fetch from 'node-fetch'
import core from '@actions/core';
import github from '@actions/github';
import fetch from 'node-fetch';

async function getContext () {
const payload = github.context.payload
Expand Down

0 comments on commit 233db9c

Please sign in to comment.