Skip to content

Commit

Permalink
Bugfix - within aliased to shell in local context.
Browse files Browse the repository at this point in the history
  • Loading branch information
Addvilz committed May 24, 2021
1 parent 7658985 commit 7b061a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* Mon May 24 2021 Matiss Treinis <mrtreinis@gmail.com> - 1.1.5
- Bugfix - within aliased to shell in local context.

* Mon May 24 2021 Matiss Treinis <mrtreinis@gmail.com> - 1.1.4
- Add "local" command for local execution context runner
- Introduce strict mode
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.11.4)

# IMPORTANT: updating version might require update in package dependencies at the end of this file.
set(KAFE_VERSION "1.1.4")
set(KAFE_VERSION "1.1.5")
set(KAFE_SOVERSION "1.1")
set(KAFE_VERSION_INT 11)
set(KAFE_VERSION_DEP_NEXT_MAJOR "2.0.0")
Expand Down
2 changes: 1 addition & 1 deletion libkafe/src/scripting/script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ namespace kafe::scripting {
const auto *scope = get_scope(L);

if (scope->get_context()->is_local_context()) {
return lua_api_local_shell(L);
return lua_api_local_within(L);
}

if (!scope->has_current_api()) {
Expand Down

0 comments on commit 7b061a6

Please sign in to comment.