Skip to content

Commit

Permalink
fix: use require instead of import for node12 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrik Arvidsson committed Mar 23, 2021
1 parent 42a9348 commit d1371f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fetch_artifact.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import axios from 'axios';
import * as fs from 'fs';
import * as core from '@actions/core';
const axios = require('axios');
const fs = require('fs');
const core = require('@actions/core');

try {
const getEnvironmentVariable = (name) => {
Expand Down

0 comments on commit d1371f1

Please sign in to comment.