Skip to content

Commit

Permalink
chore: replace simple_expand_tilde::expand_tilde with util::expand_tilde
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Dec 2, 2024
1 parent 8e02889 commit dbc0aba
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/cmd/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ use reqwest::{
};
use serde::{Deserialize, Serialize};
use serde_json::{json, Value};
use simple_expand_tilde::expand_tilde;
use url::Url;
use util::expand_tilde;

use crate::{
config::{Config, Delimiter},
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/fetchpost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ use reqwest::{
};
use serde::Deserialize;
use serde_json::{json, Value};
use simple_expand_tilde::expand_tilde;
use url::Url;
use util::expand_tilde;

use crate::{
cmd::fetch::{
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/geocode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,9 @@ use rayon::{
use regex::Regex;
use serde::Deserialize;
use serde_json::json;
use simple_expand_tilde::expand_tilde;
use tempfile::tempdir;
use url::Url;
use util::expand_tilde;
use uuid::Uuid;

use crate::{
Expand Down
1 change: 0 additions & 1 deletion src/cmd/luau.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ use log::{debug, info, log_enabled};
use mlua::{Lua, LuaSerdeExt, Value};
use serde::Deserialize;

// use simple_expand_tilde::expand_tilde;
use crate::{
config::{Config, Delimiter, DEFAULT_WTR_BUFFER_CAPACITY},
lookup, util, CliError, CliResult,
Expand Down
2 changes: 1 addition & 1 deletion src/lookup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::{
use log::{debug, info};
use reqwest::blocking::Client;
use serde_json::Value;
use simple_expand_tilde::expand_tilde;
use util::expand_tilde;

use crate::{util, CliError};

Expand Down

0 comments on commit dbc0aba

Please sign in to comment.