Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats committed Dec 12, 2024
1 parent 3708c3d commit d7feb02
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/deno_json/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub struct LintRulesConfig {
#[derive(Debug, Error, JsError)]
pub enum IntoResolvedError {
#[class(inherit)]
#[error("{0}")]
#[error(transparent)]
UrlToFilePath(#[from] UrlToFilePathError),
#[class(inherit)]
#[error("Invalid include: {0}")]
Expand Down Expand Up @@ -709,16 +709,16 @@ pub enum ConfigFileError {
#[error("Only file: specifiers are supported for security reasons in import maps stored in a deno.json. To use a remote import map, use the --import-map flag and \"deno.importMap\" in the language server config")]
OnlyFileSpecifiersSupported,
#[class(inherit)]
#[error("{0}")]
#[error(transparent)]
UrlToFilePath(#[from] UrlToFilePathError),
#[class(inherit)]
#[error("{0}")]
#[error(transparent)]
UrlParse(#[from] url::ParseError),
#[class(inherit)]
#[error("{0}")]
#[error(transparent)]
SerdeJson(#[from] serde_json::Error),
#[class(inherit)]
#[error("{0}")]
#[error(transparent)]
ImportMap(#[from] import_map::ImportMapError),
#[class(inherit)]
#[error("{0}")]
Expand Down Expand Up @@ -831,7 +831,7 @@ pub enum ResolveTaskConfigError {
#[error("Configuration file task names must start with an alphabetic character. Task: {0}")]
TaskNameInvalidStartingCharacter(String),
#[class(inherit)]
#[error("{0}")]
#[error(transparent)]
ToInvalidConfig(#[from] ToInvalidConfigError),
}

Expand Down Expand Up @@ -859,10 +859,10 @@ pub enum ResolveExportValueUrlsError {
#[derive(Debug, Error, JsError)]
pub enum ToLockConfigError {
#[class(inherit)]
#[error("{0}")]
#[error(transparent)]
ToInvalidConfigError(#[from] ToInvalidConfigError),
#[class(inherit)]
#[error("{0}")]
#[error(transparent)]
UrlToFilePath(#[from] UrlToFilePathError),
}

Expand Down

0 comments on commit d7feb02

Please sign in to comment.