You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/11/04 05:22:21 UTC

[royale-asjs] branch develop updated: block extra calls to extract. Should fix #539

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 0dd8974  block extra calls to extract.  Should fix #539
0dd8974 is described below

commit 0dd897458045344f07cd52bd6afd370f79aa775b
Author: Alex Harui <ah...@apache.org>
AuthorDate: Sun Nov 3 21:22:02 2019 -0800

    block extra calls to extract.  Should fix #539
---
 npm/js-swf/dependencies/AdobeAIR.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/npm/js-swf/dependencies/AdobeAIR.js b/npm/js-swf/dependencies/AdobeAIR.js
index 6754d5b..637c4b5 100644
--- a/npm/js-swf/dependencies/AdobeAIR.js
+++ b/npm/js-swf/dependencies/AdobeAIR.js
@@ -98,6 +98,8 @@ function downloadAdobeAIR()
 
 function extract()
 {
+	if (inExpand) return;
+	inExpand = true;
 	var pathResolver = require('path');
 	// ROYALE_FOLDER is the base of the tar.gz package which has the 3 repos as children
 	// and not the royale-asjs repo