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:03 +0800 |
commit | 2b7699c26afb96cf043c25973b45926ff32b00d5 (patch) | |
tree | be2cf1cd71a5e74750ff04947531e754767d35e3 /packages/sol-compiler | |
parent | d567c58d3b2b8d858977c310b2978e65a587b968 (diff) | |
download | dexon-0x-contracts-2b7699c26afb96cf043c25973b45926ff32b00d5.tar.gz dexon-0x-contracts-2b7699c26afb96cf043c25973b45926ff32b00d5.tar.zst dexon-0x-contracts-2b7699c26afb96cf043c25973b45926ff32b00d5.zip |
Omit remapping in compiler settings equality checks
Diffstat (limited to 'packages/sol-compiler')
-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 45608eb55..afa4cc5bb 100644 --- a/packages/sol-compiler/src/compiler.ts +++ b/packages/sol-compiler/src/compiler.ts @@ -327,7 +327,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; |