From 3368b8c11fd15798fc1eac0f5b5a20f643345997 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 12 Sep 2016 12:46:43 -0400 Subject: Fixed error building projects; modules/textadept/run.lua --- modules/textadept/run.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index c6d83095..07a83e93 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -290,10 +290,10 @@ function M.build(root_directory) end -- Run the command. cwd = working_dir or root_directory - events.emit(event, '> cd '..cwd) - events.emit(event, '> '..command:iconv('UTF-8', _CHARSET)) + events.emit(events.BUILD_OUTPUT, '> cd '..cwd) + events.emit(events.BUILD_OUTPUT, '> '..command:iconv('UTF-8', _CHARSET)) proc = assert(spawn(command, cwd, emit_output, emit_output, function(status) - events.emit(event, '> exit status: '..status) + events.emit(events.BUILD_OUTPUT, '> exit status: '..status) end)) end events.connect(events.BUILD_OUTPUT, print_output) -- cgit v1.2.3