build: Fixed macOS bundle not using correct Python environment
* Pass verbose flag to Python indexer if enabled
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "SourceGroupPythonEmpty.h"
|
||||
|
||||
#include "ApplicationSettings.h"
|
||||
#include "FileManager.h"
|
||||
#include "IndexerCommandCustom.h"
|
||||
#include "ProjectSettings.h"
|
||||
@@ -51,6 +52,11 @@ std::vector<std::shared_ptr<IndexerCommand>> SourceGroupPythonEmpty::getIndexerC
|
||||
args += L" --environment-directory-path=" + m_settings->getEnvironmentDirectoryPathExpandedAndAbsolute().wstr();
|
||||
}
|
||||
|
||||
if (ApplicationSettings::getInstance()->getVerboseIndexerLoggingEnabled())
|
||||
{
|
||||
args += L" --verbose";
|
||||
}
|
||||
|
||||
std::vector<std::shared_ptr<IndexerCommand>> indexerCommands;
|
||||
for (const FilePath& sourceFilePath : getAllSourceFilePaths())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user