Skip to content

Commit

Permalink
fix: fixed fetch import
Browse files Browse the repository at this point in the history
  • Loading branch information
SethCohen committed Aug 24, 2022
1 parent fd59991 commit 0e4e0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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');
const fetch = require('node-fetch')
import fetch from 'node-fetch'

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

0 comments on commit 0e4e0d8

Please sign in to comment.