Skip to content

Commit 01f5ce6

Browse files
committed
package.json
1 parent 701401f commit 01f5ce6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tasks/lib/inlinehint.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function removeTags(src, ignores) {
3737
lines[i] = '';
3838
}
3939
else if(stops) {
40-
lines[i] = '';
40+
if(tagSection) { lines[i] = ''; }
4141
tagSection = false;
4242
}
4343

@@ -66,7 +66,6 @@ function createTemporaryFiles(files, ignores, patterns) {
6666

6767
if(ignores) source = removeTags(source, ignores);
6868
if(patterns) source = removePatterns(source, patterns);
69-
7069
if (/^\s*$/.test(source)) return;
7170

7271
fs.writeFileSync(tempFile, source);

0 commit comments

Comments
 (0)