We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7eaf1d5 + 04423c4 commit ee589d7Copy full SHA for ee589d7
lib/fix-me.js
@@ -35,7 +35,8 @@ FixMe.prototype.find = function(file){
35
self = this;
36
37
// Prepare the grep string for execution (uses BusyBox grep)
38
- var grepString = "grep -inHwoE " + fixmeStrings + " " + file;
+ var grepString = ["grep -inHwoE", fixmeStrings, '"' + file + '"'].join(" ");
39
+
40
41
// Execute grep with the FIXME patterns
42
exec(grepString, function (error, stdout, stderr) {
0 commit comments