Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
clauBv23 committed Jan 27, 2025
1 parent 7101b93 commit f5a2402
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/contracts/deploy/10_create_repo/11_create_repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {

// try getting the plugin repo.
const res = await findPluginRepo(hre);
let pluginRepoAddress = res.pluginRepo?.address;
let ensDomain = res.ensDomain;
const pluginRepoAddress = res.pluginRepo?.address;
const ensDomain = res.ensDomain;

if (pluginRepoAddress) {
if (ensDomain != '') {
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/deploy/20_new_version/23_publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
if (latestBuild == 0 && VERSION.build > 1) {
// We are publishing the first version as build > 1.
// So we need to publish placeholders first..
let placeholderSetup =
const placeholderSetup =
process.env.PLACEHOLDER_SETUP ??
getLatestContractAddress('PlaceholderSetup', hre);

Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/deploy/30_upgrade_repo/_common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export async function fetchData(

// Get the latest `PluginRepo` implementation as the upgrade target
let latestPluginRepoImplementation;
let pluginRepoFactoryAddress = process.env.PLUGIN_REPO_FACTORY_ADDRESS;
const pluginRepoFactoryAddress = process.env.PLUGIN_REPO_FACTORY_ADDRESS;

if (pluginRepoFactoryAddress) {
if (!ethers.utils.isAddress(pluginRepoFactoryAddress)) {
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export async function findPluginRepo(
}

let subdomainRegistrarAddress;
let pluginRepoFactoryAddress = process.env.PLUGIN_REPO_FACTORY_ADDRESS;
const pluginRepoFactoryAddress = process.env.PLUGIN_REPO_FACTORY_ADDRESS;

if (pluginRepoFactoryAddress) {
if (!ethers.utils.isAddress(pluginRepoFactoryAddress)) {
Expand Down

0 comments on commit f5a2402

Please sign in to comment.