Skip to content

Commit

Permalink
- fix scripts in subfolders not being included when exporting a full …
Browse files Browse the repository at this point in the history
…instrument expansion
  • Loading branch information
Christoph Hart committed Jan 20, 2022
1 parent b5dbdbe commit 2bdd95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hi_scripting/scripting/ScriptProcessor.cpp
Expand Up @@ -1279,7 +1279,7 @@ void JavascriptProcessor::restoreInterfaceData(ValueTree propertyData)

String JavascriptProcessor::Helpers::resolveIncludeStatements(String& x, Array<File>& includedFiles, const JavascriptProcessor* p)
{
String regex("include\\(\"([\\w\\s]+\\.\\w+)\"\\);");
String regex("include\\(\"([/\\w\\s]+\\.\\w+)\"\\);");
StringArray results = RegexFunctions::search(regex, x, 0);
StringArray fileNames = RegexFunctions::search(regex, x, 1);
StringArray includedContents;
Expand Down

0 comments on commit 2bdd95a

Please sign in to comment.