From a03cbe2e3f837d7dda9a35f357dee70bae98734c Mon Sep 17 00:00:00 2001 From: Hargun Kaur <56452820+hkaur008@users.noreply.github.com> Date: Thu, 7 Oct 2021 16:42:34 +0000 Subject: [PATCH] changed import from syntax instead require line 3 and line 8 --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 7fe3ce68..2d6dc462 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,6 +1,6 @@ import * as core from '@actions/core'; import * as installer from './installer'; -import fs = require('fs'); +import fs from 'fs'; import * as auth from './authutil'; import * as path from 'path'; import {restoreCache} from './cache-restore';