Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
guyutongxue committed Sep 6, 2022
1 parent 9ee4dc9 commit 8fa71a5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src-tauri/src/tasks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,12 @@ mod shortcut {
}

mod vscode {
#[cfg(windows)]
use std::os::windows::process::CommandExt;
#[cfg(windows)]
use crate::utils::winapi::CREATE_NO_WINDOW;

use crate::utils::winapi::CREATE_NO_WINDOW;

use super::*;
use super::*;

pub fn open(args: &TaskArgs) -> Result<()> {
let mut vscode_args = vec![args.workspace.to_str().expect("to_str err")];
Expand Down

0 comments on commit 8fa71a5

Please sign in to comment.