Skip to content

Commit

Permalink
changed deprecation log syntax according to Nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza committed Mar 29, 2021
1 parent a61f4c0 commit 627f66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Deprecator/Deprecator.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Deprecator {
: `removed`;

// Compose message
let output = `⚠️ The Parse Server ${type} '${key}' `;
let output = `DeprecationWarning: The Parse Server ${type} '${key}' `;
output += changeNewKey ? `is deprecated and will be ${keyAction} in a future version.` : '';
output += changeNewDefault
? `default will change to '${changeNewDefault}' in a future version.`
Expand Down

0 comments on commit 627f66d

Please sign in to comment.