Trim file-watch test file
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
(defun check [file delay command erase]
|
(defun check [file delay command erase]
|
||||||
(let [contents
|
(let [contents
|
||||||
(try
|
(try
|
||||||
(File.getContent file)
|
(StringTools.trim (File.getContent file))
|
||||||
(catch [e] ""))]
|
(catch [e] ""))]
|
||||||
(if (< 0 contents.length)
|
(if (< 0 contents.length)
|
||||||
#|for (line in contents.split("\n")) {
|
#|for (line in contents.split("\n")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user