mnfst / manifest

A Whole Backend That Fits Into 1 YAML file. ⭐ to support the project !
https://manifest.build
MIT License
795 stars 49 forks source link

Fix 'Duplicate Code' issue in multiple files #175

Open codefactor-io[bot] opened 1 month ago

codefactor-io[bot] commented 1 month ago

CodeFactor found an issue: Duplicate Code

It's currently on: packages\core\admin\src\app\modules\shared\inputs\url-input\url-input.component.ts:30-44 packages\core\admin\src\app\modules\shared\inputs\timestamp-input\timestamp-input.component.ts:27-42 packages\core\admin\src\app\modules\shared\inputs\textarea-input\textarea-input.component.ts:29-44 packages\core\admin\src\app\modules\shared\inputs\text-input\text-input.component.ts:28-42 Commit 14298ed334cc0c92cbfecc241a61204d0426e1bd

uchiha-vivek commented 1 month ago

@SebConejo Sir i have fixed this issue #175 . Created a seperate folder under manifest>packages>core>admin>src>modules>shared>inputs>base-input>base-input-component.ts. It contains the common code which can be extended into different typescript files . The build is also working perfectly .