components icon indicating copy to clipboard operation
components copied to clipboard

add a new method in utils.js to get path for file with specified name and possible formats

Open Njuhobby opened this issue 3 years ago • 0 comments

What has been implemented?

Duplicate code exists in different places on src/cli/utils.js. All of them seem to server one goal: given a directory, a filename and several different file formats, check if the files exist under the directory. I created a new method so that this part of code could be located in one place.

Njuhobby avatar Nov 11 '20 13:11 Njuhobby