Commit af7103a9 by Hadrien Croubois

lint

parent e3e5390a
const fs = require('fs');
const path = require('path');
const { findAll } = require('solidity-ast/utils');
const { astDereferencer } = require('@openzeppelin/upgrades-core/dist/ast-dereferencer');
const { solcInputOutputDecoder } = require('@openzeppelin/upgrades-core/dist/src-decoder');
const { extractStorageLayout } = require('@openzeppelin/upgrades-core/dist/storage/extract');
......@@ -10,7 +7,7 @@ const { LayoutCompatibilityReport } = require('@openzeppelin/upgrades-core/dist/
const { ref, head } = require('yargs').argv;
function extractLayouts(file) {
function extractLayouts (file) {
const layout = {};
const { input, output } = require(file);
......@@ -59,4 +56,4 @@ for (const id in oldLayout) {
} else {
console.log(`WARNING: ${id} is missing from the current branch`);
}
}
\ No newline at end of file
}
......@@ -20,4 +20,4 @@ node scripts/upgradeable/layout-rebuild-and-compare.js \
--head $PWD/artifacts/build-info/*.json
# TODO: delete even if comparaison fails
rm $TMP
\ No newline at end of file
rm $TMP
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment