From 0cdeb7aff091940ddf3ba5d6685b305eb2842909 Mon Sep 17 00:00:00 2001 From: Eric Lau Date: Fri, 10 Nov 2023 11:03:00 -0500 Subject: [PATCH] cleanup --- packages/core/scripts/copy-artifacts.sh | 14 -------------- packages/plugin-hardhat/package.json | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/packages/core/scripts/copy-artifacts.sh b/packages/core/scripts/copy-artifacts.sh index 9f87f18d7..1ca7dbde1 100644 --- a/packages/core/scripts/copy-artifacts.sh +++ b/packages/core/scripts/copy-artifacts.sh @@ -12,18 +12,4 @@ if ! grep -q '"version": "1.31.1"' ../../node_modules/@openzeppelin/upgrades-cor exit 1 fi -echo "Node modules:" -ls -la ../../node_modules/ -echo "openzeppelin dir:" -ls -la ../../node_modules/@openzeppelin/ -echo "Legacy artifacts:" -ls -la ../../node_modules/@openzeppelin/upgrades-core-legacy/artifacts/ -echo "pwd:" -pwd -echo "artifacts dir:" -ls -la artifacts/ - cp -R ../../node_modules/@openzeppelin/upgrades-core-legacy/artifacts . - -echo "artifacts dir after:" -ls -la artifacts/ \ No newline at end of file diff --git a/packages/plugin-hardhat/package.json b/packages/plugin-hardhat/package.json index da85b1ebf..7b50c0dc8 100644 --- a/packages/plugin-hardhat/package.json +++ b/packages/plugin-hardhat/package.json @@ -15,7 +15,7 @@ "scripts": { "clean": "rimraf dist *.tsbuildinfo", "compile": "tsc -b", - "prepare": "ls -la ../core/artifacts/ && yarn clean && yarn compile", + "prepare": "yarn clean && yarn compile", "test": "tsc -b && bash scripts/test.sh", "test:watch": "fgbg 'bash scripts/test.sh --watch' 'tsc -b --watch' --", "version": "node ../../scripts/bump-changelog.js"