Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Omit remapping in compiler settings equality checks
Browse files Browse the repository at this point in the history
  • Loading branch information
LogvinovLeon committed Feb 7, 2019
1 parent 7e19c94 commit 2ef3af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sol-compiler/src/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2ef3af0

Please sign in to comment.