You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Predicates for creating an equivalent call to `fs.readFile` from a command execution of `cat`.
@@ -173,11 +173,10 @@ module PrettyPrintCatCall {
173
173
callback=""andnotexists(cat.getCallback())
174
174
)and
175
175
fileArg=createFileArgument(cat).trim()and
176
-
// sanity check in case of surprising `toString` results, other uses of `containsNonTrivialBashChar` should ensure that this conjunct will hold most of the time
177
-
not(containsNonTrivialShellChar(fileArg.regexpReplaceAll("\\$|\\`| ","")))// string concat might contain " ", template strings might contain "$" or `, and that is OK.
176
+
// sanity check in case of surprising `toString` results, other uses of `containsNonTrivialBashChar` should ensure that this conjunct will hold most of the time
177
+
notcontainsNonTrivialShellChar(fileArg.regexpReplaceAll("\\$|\\`| ",""))// string concat might contain " ", template strings might contain "$" or `, and that is OK.
0 commit comments