Skip to content

Commit

Permalink
release: bump version to 0.10.0-alpha.7
Browse files Browse the repository at this point in the history
  • Loading branch information
PoiScript committed Jan 9, 2024
1 parent ae7589f commit e0021b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -9,7 +9,7 @@ members = [
]

[workspace.package]
version = "0.10.0-alpha.6"
version = "0.10.0-alpha.7"
authors = ["PoiScript <poiscript@gmail.com>"]
repository = "https://github.com/PoiScript/orgize"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion orgize-lsp/src/commands/mod.rs
Expand Up @@ -64,7 +64,7 @@ impl OrgizeCommand {
pub async fn execute(params: &ExecuteCommandParams, backend: &Backend) -> Option<Value> {
let result = match (
params.command.as_str(),
params.arguments.get(0).and_then(|x| x.as_str()),
params.arguments.first().and_then(|x| x.as_str()),
params.arguments.get(1).and_then(|x| x.as_u64()),
) {
("orgize.src-block.execute", Some(s), Some(n)) => backend
Expand Down
2 changes: 1 addition & 1 deletion orgize-lsp/src/document_link_resolve.rs
Expand Up @@ -16,7 +16,7 @@ pub fn document_link_resolve(
let data = data.as_array()?;

match (
data.get(0)?.as_str()?,
data.first()?.as_str()?,
data.get(1)?.as_str()?,
data.get(2)?.as_str()?,
) {
Expand Down

0 comments on commit e0021b4

Please sign in to comment.