Skip to content

Commit

Permalink
fix fs import
Browse files Browse the repository at this point in the history
  • Loading branch information
fairclothjm committed Mar 11, 2024
1 parent 716f860 commit b33900a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/auth.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-check
import core from '@actions/core';
import fs from 'fs';
import * as fs from 'fs';
import got from 'got';
import rsasign from 'jsrsasign';

Expand Down
2 changes: 1 addition & 1 deletion src/auth.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ vi.mock('fs', () => ({

import core from '@actions/core';
import got from 'got'
import fs from 'fs';
import * as fs from 'fs';
import { when } from 'jest-when'

import { retrieveToken } from './auth.js';
Expand Down

0 comments on commit b33900a

Please sign in to comment.