Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = ["the Andromeda team"]
edition = "2024"
license = "Mozilla Public License 2.0"
repository = "https://github.com/tryandromeda/andromeda"
version = "0.1.4"
version = "0.1.5"

[workspace.dependencies]
andromeda-core = { path = "crates/core" }
Expand Down
2 changes: 2 additions & 0 deletions crates/cli/src/check.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
// If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

#![allow(unused_assignments)]

use crate::config::AndromedaConfig;
use crate::error::{CliError, CliResult};
use crate::helper::find_formattable_files;
Expand Down
1 change: 1 addition & 0 deletions crates/cli/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#![allow(clippy::result_large_err)]
#![allow(unused_assignments)]

use andromeda_core::RuntimeError;
use miette::{Diagnostic, NamedSource, SourceSpan};
Expand Down
2 changes: 2 additions & 0 deletions crates/cli/src/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
//! max_warnings = 10
//! ```

#![allow(unused_assignments)]

use crate::config::{AndromedaConfig, ConfigManager, LintConfig};
use crate::error::{CliError, CliResult};
use console::Style;
Expand Down
3 changes: 2 additions & 1 deletion crates/core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#![allow(unused_assignments)]

use miette::{self as oxc_miette, Diagnostic, NamedSource, SourceSpan};
use owo_colors::OwoColorize;
use oxc_diagnostics::OxcDiagnostic;
use std::fmt;

/// Comprehensive error type for Andromeda runtime operations.
#[derive(Diagnostic, Debug, Clone)]
#[allow(unused_assignments)]
pub enum RuntimeError {
/// File system operation errors
#[diagnostic(
Expand Down
Loading
Loading