Skip to content

Commit

Permalink
feat(file_name.js): 满足第三种情况: 在根路径的文件
Browse files Browse the repository at this point in the history
  • Loading branch information
radiorz committed Nov 16, 2022
1 parent 8e83528 commit 2e9ab33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snippets/file_name.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
* @done
* @example
*/

const body =
"${RELATIVE_FILEPATH/.*[\\\\|\\/](.*)[\\\\|\\/]index\\..*|.*[\\\\|\\/](.*).*\\..*/$1$2/}";
"${RELATIVE_FILEPATH/.*[\\\\|\\/](.*)[\\\\|\\/]index\\..*|.*[\\\\|\\/](.*)\\..*|(.*)\\..*/$1$2$3/}";
const description = "";

module.exports = {
Expand Down

0 comments on commit 2e9ab33

Please sign in to comment.