diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-02-07 20:20:03 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-02-07 20:20:21 +0800 |
commit | 2ef3af000378f66daa0212daaf23c807d018711e (patch) | |
tree | 9af1792dbdb4fc5c7b75da687c6f34989ce14c0b | |
parent | 7e19c944b91f573bb026ca3a916cd4e4b9169a9e (diff) | |
download | dexon-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.ts | 2 |
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; |