mirror of
https://github.com/bower/bower.git
synced 2026-02-11 22:44:58 -05:00
Small changes.
This commit is contained in:
@@ -148,10 +148,11 @@ GitResolver.prototype._cleanup = function () {
|
||||
};
|
||||
|
||||
GitResolver.prototype._savePkgMeta = function (meta) {
|
||||
// Ensure that the .version is fulfilled with the resolution
|
||||
// version if any
|
||||
// TODO: emit a warning if the json version is different than the resolved one
|
||||
// also add a test for this stuff
|
||||
if (mout.object.hasOwn(meta, 'version') && meta.version !== this._resolution.version) {
|
||||
// warn about mismatch version
|
||||
}
|
||||
|
||||
// Ensure that the version is fulfilled with the resolution version
|
||||
meta.version = this._resolution.version;
|
||||
|
||||
// Save resolution to be used in hasNew later
|
||||
|
||||
Reference in New Issue
Block a user