aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2019-02-07 20:20:03 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2019-02-07 20:20:21 +0800
commit2ef3af000378f66daa0212daaf23c807d018711e (patch)
tree9af1792dbdb4fc5c7b75da687c6f34989ce14c0b
parent7e19c944b91f573bb026ca3a916cd4e4b9169a9e (diff)
downloaddexon-0x-contracts-2ef3af000378f66daa0212daaf23c807d018711e.tar
dexon-0x-contracts-2ef3af000378f66daa0212daaf23c807d018711e.tar.gz
dexon-0x-contracts-2ef3af000378f66daa0212daaf23c807d018711e.tar.bz2
dexon-0x-contracts-2ef3af000378f66daa0212daaf23c807d018711e.tar.lz
dexon-0x-contracts-2ef3af000378f66daa0212daaf23c807d018711e.tar.xz
dexon-0x-contracts-2ef3af000378f66daa0212daaf23c807d018711e.tar.zst
dexon-0x-contracts-2ef3af000378f66daa0212daaf23c807d018711e.zip
Omit remapping in compiler settings equality checks
-rw-r--r--packages/sol-compiler/src/compiler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-compiler/src/compiler.ts b/packages/sol-compiler/src/compiler.ts
index c5dea1155..67021d445 100644
--- a/packages/sol-compiler/src/compiler.ts
+++ b/packages/sol-compiler/src/compiler.ts
@@ -326,7 +326,7 @@ export class Compiler {
const isUserOnLatestVersion = currentArtifact.schemaVersion === constants.LATEST_ARTIFACT_VERSION;
const didCompilerSettingsChange = !_.isEqual(
_.omit(currentArtifact.compiler.settings, 'remappings'),
- this._compilerSettings,
+ _.omit(this._compilerSettings, 'remappings'),
);
const didSourceChange = currentArtifact.sourceTreeHashHex !== contractData.sourceTreeHashHex;
return !isUserOnLatestVersion || didCompilerSettingsChange || didSourceChange;