use file.log.deprecate instead of throwing an error - fixes #1694
This commit is contained in:
parent
4b85b05839
commit
0f4ea2d2a6
@ -115,7 +115,7 @@ export default class File {
|
||||
if (!val && option.optional) continue;
|
||||
|
||||
if (val && option.deprecated) {
|
||||
throw new Error("Deprecated option " + key + ": " + option.deprecated);
|
||||
this.log.deprecate("Deprecated option " + key + ": " + option.deprecated);
|
||||
}
|
||||
|
||||
if (val == null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user