Skip to content

Commit

Permalink
fix: fix serial error
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Jan 19, 2021
1 parent e91083d commit cf95f5a
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions src/domain/framework/coco_framework.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use framework::framework_detector::Framework;
use serde::{Deserialize, Serialize};

#[derive(Serialize, PartialEq, Debug, Clone)]
#[derive(Serialize, Deserialize, PartialEq, Debug, Clone)]
pub struct CocoFramework {
pub name: String,
pub path: String,
Expand All @@ -14,15 +14,3 @@ pub struct CocoFramework {
// in JVM projects, has different languages, such as Java, Groovy, Kotlin...
pub languages: Vec<String>,
}

impl CocoFramework {
pub fn from(f: Framework) -> CocoFramework {
CocoFramework {
name: f.name,
path: f.path,
relative_path: f.relative_path,
framework_files: f.files,
languages: f.languages,
}
}
}

0 comments on commit cf95f5a

Please sign in to comment.