Skip to content

Commit

Permalink
remove unused import that was breaking esm compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
fairclothjm committed Mar 11, 2024
1 parent 43c11c3 commit 4bafe0b
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 20 deletions.
11 changes: 0 additions & 11 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18430,14 +18430,6 @@ function wrappy (fn, cb) {
}


/***/ }),

/***/ 8081:
/***/ ((module) => {

module.exports = eval("require")("@actions/core/lib/command");


/***/ }),

/***/ 9491:
Expand Down Expand Up @@ -18603,8 +18595,6 @@ var __webpack_exports__ = {};

// EXTERNAL MODULE: ./node_modules/@actions/core/lib/core.js
var core = __nccwpck_require__(2186);
// EXTERNAL MODULE: ./node_modules/@vercel/ncc/dist/ncc/@@notfound.js?@actions/core/lib/command
var command = __nccwpck_require__(8081);
// EXTERNAL MODULE: ./node_modules/got/dist/source/index.js
var source = __nccwpck_require__(3061);
// EXTERNAL MODULE: ./node_modules/jsonata/jsonata.js
Expand Down Expand Up @@ -18977,7 +18967,6 @@ const selectAndAppendResults = async (




const AUTH_METHODS = ['approle', 'token', 'github', 'jwt', 'kubernetes', 'ldap', 'userpass'];
const ENCODING_TYPES = ['base64', 'hex', 'utf8'];

Expand Down
1 change: 0 additions & 1 deletion integrationTests/basic/approle_auth.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { vi, describe, test, expect } from 'vitest';

vi.mock('@actions/core');
vi.mock('@actions/core/lib/command');
import * as core from '@actions/core';

import got from 'got';
Expand Down
1 change: 0 additions & 1 deletion integrationTests/basic/integration.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { vi, describe, test, expect } from 'vitest';

vi.mock('@actions/core');
vi.mock('@actions/core/lib/command');
import * as core from '@actions/core';

import got from 'got';
Expand Down
1 change: 0 additions & 1 deletion integrationTests/basic/jwt_auth.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { vi, describe, test, expect } from 'vitest';

vi.mock('@actions/core');
vi.mock('@actions/core/lib/command');
import * as core from '@actions/core';
import rsasign from 'jsrsasign';
import {
Expand Down
1 change: 0 additions & 1 deletion integrationTests/basic/userpass_auth.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { vi, describe, test, expect } from 'vitest';

vi.mock('@actions/core');
vi.mock('@actions/core/lib/command');
import * as core from '@actions/core';

import got from 'got';
Expand Down
1 change: 0 additions & 1 deletion integrationTests/enterprise/enterprise.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { vi, describe, test, expect } from 'vitest';

vi.mock('@actions/core');
vi.mock('@actions/core/lib/command');
import * as core from '@actions/core';

import got from 'got';
Expand Down
1 change: 0 additions & 1 deletion src/action.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-check
import * as core from '@actions/core';
import * as command from '@actions/core/lib/command';
import got from 'got';
import jsonata from 'jsonata';
import { normalizeOutputKey } from './utils.js';
Expand Down
2 changes: 0 additions & 2 deletions src/action.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { vi, describe, test, expect } from 'vitest';

vi.mock('got');
vi.mock('@actions/core');
vi.mock('@actions/core/lib/command');

import * as command from '@actions/core/lib/command';
import * as core from '@actions/core';
import got from 'got';
import {
Expand Down
1 change: 0 additions & 1 deletion src/auth.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { vi, describe, test, expect } from 'vitest';

vi.mock('got');
vi.mock('@actions/core');
vi.mock('@actions/core/lib/command');
vi.mock('fs', () => ({
stat: vi.fn().mockResolvedValue(null),
promises: {
Expand Down

0 comments on commit 4bafe0b

Please sign in to comment.