Skip to content
This repository was archived by the owner on Oct 6, 2019. It is now read-only.
This repository was archived by the owner on Oct 6, 2019. It is now read-only.

.md 이외의 파일 필터링 #5

@BKJang

Description

@BKJang

@SeonHyungJo - 내용이 부족하여 정확한 내용 기록을 위해 수정진행합니다.

기존 구현상 Markdown 확장자 파일을 걸러내기 위해서

cur['filename'].includes('.js')

위와 같은 로직으로 구현을 했으나 기타 이미지, 텍스트 등의 파일 역시 링크로 추가가 되고 있어서 원하는 기능을 충족하지 못하고 있습니다.

//index.js
if (cur['filename'].includes('.js')) {
  return acc
}

부분의 수정이 필요해 보입니다.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions