Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua committed Jan 19, 2024
1 parent c291a22 commit 0337b2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/warn_on_deprecated_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ export function warnOnDeprecatedApi(config: WarnDeprecatedApiConfig) {
);
}

Check warning on line 79 in internal/warn_on_deprecated_api.ts

View check run for this annotation

Codecov / codecov/patch

internal/warn_on_deprecated_api.ts#L79

Added line #L79 was not covered by tests

console.log("%c\u2502", "color: yellow;");
console.log("%c\u2502", "color: yellow;");
console.log(
"%c\u251c Set `DENO_NO_DEPRECATION_WARNINGS=1` to disable these deprecation warnings.",
"color: yellow;",

Check warning on line 84 in internal/warn_on_deprecated_api.ts

View check run for this annotation

Codecov / codecov/patch

internal/warn_on_deprecated_api.ts#L81-L84

Added lines #L81 - L84 were not covered by tests
);
console.log("%c\u2502", "color: yellow;");
console.log("%c\u2514 Stack trace:", "color: yellow;");
for (let i = 0; i < stackLines.length; i++) {
console.log(
Expand Down
2 changes: 1 addition & 1 deletion internal/warn_on_deprecated_api_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Deno.test("warnDeprecatedApi()", async () => {
├ Suggestion: Do something else instead.
├ Set \`DENO_NO_DEPRECATION_WARNINGS=1\` to disable these deprecation warnings.
└ Stack trace:
├─ at fn (${import.meta.url}:39:12)
└─ at ${import.meta.url}:47:31
Expand Down

0 comments on commit 0337b2e

Please sign in to comment.