Skip to content

Commit

Permalink
fix: fix typo (#2870)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette authored Jul 7, 2023
1 parent 16533f5 commit e6a7184
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/marked.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2759,7 +2759,7 @@ function _parseMarkdown2(lexer, parser) {
}
function _onError2(silent, async, callback) {
return function (e) {
e.message += '\nPlease report this to https://github.com/markedjs/this.';
e.message += '\nPlease report this to https://github.com/markedjs/marked.';
if (silent) {
var msg = '<p>An error occurred:</p><pre>' + escape(e.message + '', true) + '</pre>';
if (async) {
Expand Down
2 changes: 1 addition & 1 deletion lib/marked.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2846,7 +2846,7 @@ class Marked {

#onError(silent, async, callback) {
return (e) => {
e.message += '\nPlease report this to https://github.com/markedjs/this.';
e.message += '\nPlease report this to https://github.com/markedjs/marked.';

if (silent) {
const msg = '<p>An error occurred:</p><pre>'
Expand Down
2 changes: 1 addition & 1 deletion lib/marked.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -2763,7 +2763,7 @@
}
function _onError2(silent, async, callback) {
return function (e) {
e.message += '\nPlease report this to https://github.com/markedjs/this.';
e.message += '\nPlease report this to https://github.com/markedjs/marked.';
if (silent) {
var msg = '<p>An error occurred:</p><pre>' + escape(e.message + '', true) + '</pre>';
if (async) {
Expand Down
2 changes: 1 addition & 1 deletion marked.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export class Marked {

#onError(silent, async, callback) {
return (e) => {
e.message += '\nPlease report this to https://github.com/markedjs/this.';
e.message += '\nPlease report this to https://github.com/markedjs/marked.';

if (silent) {
const msg = '<p>An error occurred:</p><pre>'
Expand Down

1 comment on commit e6a7184

@vercel
Copy link

@vercel vercel bot commented on e6a7184 Jul 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.