fix: update stopped working with banner (#22)
With the addition of `--banner` option index files no longer start with '// @create-index' This new regex looks for '// @create-index' that are either at the beginning of the file (old behavior) or if it is followed by a newline. Basically it just checks whether it exists in a file or not. Added a test for it now. # Conflicts: # src/utilities/validateTargetDirectory.js
This commit is contained in:
committed by
Gajus Kuizinas
parent
219f546c67
commit
5839536cf0
@@ -0,0 +1,3 @@
|
||||
/* eslint-disable */
|
||||
|
||||
// @create-index
|
||||
Reference in New Issue
Block a user