Fix display of deprecated option definition warnings
Looks like this was accidentally left commented out by
5f077e2296.
This commit is contained in:
@@ -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));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user