Update warning message in TSinjex class
- Converted `identifier` to string in the deprecation warning.
This commit is contained in:
@@ -114,7 +114,7 @@ export class TSinjex implements ITSinjex {
|
||||
}
|
||||
|
||||
if (dependency.deprecated) {
|
||||
console.warn(`Dependency ${identifier} is deprecated`);
|
||||
console.warn(`Dependency ${identifier.toString()} is deprecated`);
|
||||
|
||||
// Remove the deprecation warning; it should only be logged once.
|
||||
dependency.deprecated = false;
|
||||
|
Reference in New Issue
Block a user