refactor: move ProgramWriter to common.rs
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::meta_plugin::MetaPlugin;
|
||||
use crate::common::ProgramWriter;
|
||||
use anyhow::{Context, Result, anyhow};
|
||||
use log::*;
|
||||
use std::env;
|
||||
@@ -8,6 +8,8 @@ use std::io::Write;
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
use std::process::{Command, Stdio};
|
||||
|
||||
use crate::meta_plugin::MetaPlugin;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct MetaPluginProgram {
|
||||
pub program: String,
|
||||
|
||||
Reference in New Issue
Block a user