Fix undefined 'subtask' in hardhat.plugin.js

pull/795/head
Michael Carroll 2 years ago committed by GitHub
parent 8d49be094f
commit bced6d3c2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      plugins/hardhat.plugin.js

@ -1,7 +1,7 @@
const path = require('path'); const path = require('path');
const PluginUI = require('./resources/nomiclabs.ui'); const PluginUI = require('./resources/nomiclabs.ui');
const { task, types } = require("hardhat/config"); const { task, subtask, types } = require("hardhat/config");
const { HardhatPluginError } = require("hardhat/plugins") const { HardhatPluginError } = require("hardhat/plugins")
const {HARDHAT_NETWORK_RESET_EVENT} = require("hardhat/internal/constants"); const {HARDHAT_NETWORK_RESET_EVENT} = require("hardhat/internal/constants");
const { const {

Loading…
Cancel
Save