storebytecode: Init the current dir as a package before installing npm packages

- Does not work on npm 5 without it.
This commit is contained in:
Kamil Śliwak
2022-02-18 21:54:57 +01:00
parent 114be164aa
commit a52b4177a9
+1
View File
@@ -55,6 +55,7 @@ TMPDIR=$(mktemp -d -t storebytecode_XXXXXX)
popd
cp "${SCRIPT_DIR}/prepare_report.js" .
npm init --yes
npm install ./solc-js/dist
echo "Running the compiler..."