Skip to content

Commit

Permalink
fix: make WorkspaceConfig cloneable (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Nov 10, 2023
1 parent 8e1d2fe commit 723139d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,13 +422,13 @@ impl SerializedBenchConfig {
}
}

#[derive(Debug, Default)]
#[derive(Debug, Default, Clone)]
pub struct WorkspaceConfig {
pub members: Vec<WorkspaceMemberConfig>,
pub base_import_map_value: Value,
}

#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct WorkspaceMemberConfig {
// As defined in `member` setting of the workspace deno.json.
pub member_name: String,
Expand Down

0 comments on commit 723139d

Please sign in to comment.