diff options
author | 2016-09-12 12:46:43 -0400 | |
---|---|---|
committer | 2016-09-12 12:46:43 -0400 | |
commit | 3368b8c11fd15798fc1eac0f5b5a20f643345997 (patch) | |
tree | f1e239c56f8d493d86c0308407e3d2a085bfb782 /modules/textadept | |
parent | 3797ae30ccbf7cd80835b65cbc97ad7d9d5468ff (diff) | |
download | textadept-3368b8c11fd15798fc1eac0f5b5a20f643345997.tar.gz textadept-3368b8c11fd15798fc1eac0f5b5a20f643345997.zip |
Fixed error building projects; modules/textadept/run.lua
Diffstat (limited to 'modules/textadept')
-rw-r--r-- | modules/textadept/run.lua | 6 |
1 files changed, 3 insertions, 3 deletions
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) |