From e251fa4a0241cce5220666c44daec80479c89f12 Mon Sep 17 00:00:00 2001 From: leaf corcoran Date: Wed, 13 Apr 2016 19:49:16 -0700 Subject: [PATCH] misc --- moonscript/cmd/watchers.moon | 2 +- spec/cmd_spec.moon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/moonscript/cmd/watchers.moon b/moonscript/cmd/watchers.moon index 6b91aa9..b9146bc 100644 --- a/moonscript/cmd/watchers.moon +++ b/moonscript/cmd/watchers.moon @@ -54,7 +54,7 @@ class InotifyWacher extends Watcher fname = dir .. fname if dir != "./" -- TODO: check to make sure the file was in the original set - coroutine.yield(fname) + coroutine.yield fname class SleepWatcher extends Watcher diff --git a/spec/cmd_spec.moon b/spec/cmd_spec.moon index 2ab5199..63e88e3 100644 --- a/spec/cmd_spec.moon +++ b/spec/cmd_spec.moon @@ -65,7 +65,7 @@ describe "moonc", -> describe "watcher", -> describe "inotify watcher", -> it "gets dirs", -> - import InotifyWacher from require "moonscript.cmd.watcher" + import InotifyWacher from require "moonscript.cmd.watchers" watcher = InotifyWacher { {"hello.moon", "hello.lua"} {"cool/no.moon", "cool/no.lua"}