-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3fe6ed4
commit 9f41c09
Showing
5 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,10 @@ class MatchError extends Error { | |
*/ | ||
class DebuggingError extends Error { | ||
constructor(message) { | ||
super(JSON.stringify(message, null, 4)); | ||
if (typeof message !== "string") { | ||
message = JSON.stringify(message, null, 4); | ||
} | ||
super(message); | ||
this.name = "DebuggingError"; | ||
} | ||
} | ||
|
@@ -372,7 +375,7 @@ class ImportManagerUnitMethods { | |
* It handles code analysis, creates units from import | ||
* statements, attaches methods to the units and more. | ||
* | ||
* @version 0.2.0 | ||
* @version 0.2.1 | ||
* @author UmamiAppearance [[email protected]] | ||
* @license MIT | ||
* @see https://github.com/UmamiAppearance/rollup-plugin-import-manager | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* It handles code analysis, creates units from import | ||
* statements, attaches methods to the units and more. | ||
* | ||
* @version 0.2.0 | ||
* @version 0.2.1 | ||
* @author UmamiAppearance [[email protected]] | ||
* @license MIT | ||
* @see https://github.com/UmamiAppearance/rollup-plugin-import-manager | ||
|