Skip to content

Commit

Permalink
🚨 Fix lint import/no-unresolved
Browse files Browse the repository at this point in the history
  • Loading branch information
stoe committed Aug 5, 2024
1 parent d27d114 commit 5a7e009
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/ActionPolicy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import {readFileSync} from 'fs'
import {GitHub, getOctokitOptions} from '@actions/github/lib/utils'
// eslint-disable-next-line import/no-unresolved
import {enterpriseCloud} from '@octokit/plugin-enterprise-cloud'
import {enterpriseServer38Admin} from '@octokit/plugin-enterprise-server'
import {enterpriseServer312Admin} from '@octokit/plugin-enterprise-server'
import {load} from 'js-yaml'
import {ProxyAgent} from 'proxy-agent'

Expand All @@ -13,7 +14,7 @@ const MyOctokit = GitHub.defaults({
agent: new ProxyAgent(),
},
userAgent: 'github-actions-allow-list-as-code',
}).plugin(enterpriseCloud, enterpriseServer38Admin)
}).plugin(enterpriseCloud, enterpriseServer312Admin)

class ActionPolicy {
/**
Expand Down

0 comments on commit 5a7e009

Please sign in to comment.