Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit e304331

Browse files
Merge pull request #6777 from livecodepanos/bugfix-21669
[21669] Ensure an error is thrown when Map API key is empty
2 parents 388c446 + 0595b00 commit e304331

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

docs/notes/bugfix-21669.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure an error is thrown if no Map API key is specified

ide-support/revsaveasandroidstandalone.livecodescript

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private command revSaveAsMobileStandaloneMain pStack, pApkFile, pTarget, pSettin
108108
dispatch "revIDEDeployAndroidInitialize" to stack "revDeployLibrary"
109109

110110
-- If we're searching for inclusions, do it here
111-
local tConfirm
111+
local tConfirm, tResult
112112
put true into tConfirm
113113
if pSettings["inclusions"] is "search" then
114114
put false into tConfirm
@@ -122,8 +122,9 @@ private command revSaveAsMobileStandaloneMain pStack, pApkFile, pTarget, pSettin
122122
-- Make sure all dependencies are included
123123
revSBUpdateForDependencies "android", "armv6", , pSettings
124124
revSBEnsurePerExtensionSettings "android", pSettings
125-
if the result is not empty then
126-
return the result
125+
put the result into tResult
126+
if tResult is not empty then
127+
throw tResult
127128
end if
128129

129130
-- Manually remove built-in implementations from detected script library inclusions

0 commit comments

Comments
 (0)