Skip to content

Commit

Permalink
Minor dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackzmc committed May 31, 2021
1 parent dfeaf7c commit 34eaa5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

6 changes: 3 additions & 3 deletions src/menu_import.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
use crate::util;
use crate::meta;
use crate::meta::{DownloadEntry, Config};

use steamwebapi::{Workshop, WorkshopItem, DownloadEntry};
use steamwebapi::{Workshop, WorkshopItem};
use dialoguer::{theme::ColorfulTheme, Confirm, MultiSelect};
use std::{fs};

const MAX_ITEMS_PER_PAGE: usize = 20;


pub fn handler(config: &mut meta::Config, workshop: &Workshop) -> Result<Option<util::MenuResult>, Box<dyn std::error::Error>> {
pub fn handler(config: &mut Config, workshop: &Workshop) -> Result<Option<util::MenuResult>, Box<dyn std::error::Error>> {
//Fetch the current vpks in the workshop directory
let spinner = util::setup_spinner("Fetching VPKS...");
let fileids = match Workshop::get_vpks_in_folder(&config.gamedir.join("workshop")) {
Expand Down

0 comments on commit 34eaa5c

Please sign in to comment.