Fix display of deprecated option definition warnings
Looks like this was accidentally left commented out by 5f077e229625583072ebf63ea48b11170771b0ed.
This commit is contained in:
parent
4e6697dcb6
commit
587473c574
@ -554,12 +554,10 @@ rec {
|
|||||||
apply = x: use (toOf config);
|
apply = x: use (toOf config);
|
||||||
});
|
});
|
||||||
config = {
|
config = {
|
||||||
/*
|
|
||||||
warnings =
|
warnings =
|
||||||
let opt = getAttrFromPath from options; in
|
let opt = getAttrFromPath from options; in
|
||||||
optional (warn && opt.isDefined)
|
optional (warn && opt.isDefined)
|
||||||
"The option `${showOption from}' defined in ${showFiles opt.files} has been renamed to `${showOption to}'.";
|
"The option `${showOption from}' defined in ${showFiles opt.files} has been renamed to `${showOption to}'.";
|
||||||
*/
|
|
||||||
} // setAttrByPath to (mkAliasDefinitions (getAttrFromPath from options));
|
} // setAttrByPath to (mkAliasDefinitions (getAttrFromPath from options));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user