mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
don't use both explicit & forced; actually merge correctly
This commit is contained in:
@@ -489,11 +489,9 @@ _.extend(Project.prototype, {
|
||||
// Skip the disk IO if the versions haven't changed.
|
||||
if (!_.isEqual(newVersions, self.dependencies)) {
|
||||
self.dependencies = newVersions;
|
||||
self._recordVersions();
|
||||
self._recordVersions(options);
|
||||
}
|
||||
|
||||
self.dependencies = newVersions;
|
||||
self._recordVersions(options);
|
||||
return downloaded;
|
||||
},
|
||||
|
||||
@@ -506,7 +504,7 @@ _.extend(Project.prototype, {
|
||||
|
||||
// If the user forced us to an explicit release, then maybe we shouldn't
|
||||
// record versions, unless we are updating, in which case, we should.
|
||||
if (release.forced && release.explicit && !options.alwaysRecord) {
|
||||
if (release.explicit && !options.alwaysRecord) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user