You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-08-13 20:05:19 +02:00
Фикс автоформата
This commit is contained in:
24
.github/workflows/os/format.os
vendored
24
.github/workflows/os/format.os
vendored
@@ -59,6 +59,30 @@
|
||||
Для Н = 0 По МассивСтрокБлока.ВГраница() Цикл
|
||||
|
||||
РасположениеРавно = СтрНайти(МассивСтрокБлока[Н], "=");
|
||||
|
||||
Если Не РасположениеРавно = 0 Тогда
|
||||
|
||||
МассивЧастей = СтрРазделить(МассивСтрокБлока[Н], "=");
|
||||
НеПроверять = Ложь;
|
||||
|
||||
Для А = 0 По МассивЧастей.ВГраница() - 1 Цикл
|
||||
|
||||
ЧислоКавычек = СтрЧислоВхождений(МассивЧастей[А], """");
|
||||
|
||||
Если ЧислоКавычек <> 0 И ЧислоКавычек % 2 <> 0 Тогда
|
||||
СоответствиеРасположений.Вставить(Н, 0);
|
||||
НеПроверять = Истина;
|
||||
Прервать;
|
||||
КонецЕсли;
|
||||
|
||||
КонецЦикла;
|
||||
|
||||
Если НеПроверять Тогда
|
||||
Продолжить;
|
||||
КонецЕсли;
|
||||
|
||||
КонецЕсли;
|
||||
|
||||
СоответствиеРасположений.Вставить(Н, РасположениеРавно);
|
||||
МаксимальноеРасположение = ?(РасположениеРавно > МаксимальноеРасположение, РасположениеРавно, МаксимальноеРасположение);
|
||||
|
||||
|
@@ -417,7 +417,7 @@ Function MoveEvent(Val Token, Val SourceCalendar, Val TargetCalendar, Val Event)
|
||||
OPI_TypeConversion.GetLine(Event);
|
||||
|
||||
Headers = OPI_GoogleWorkspace.GetAuthorizationHeader(Token);
|
||||
URL = "https://www.googleapis.com/calendar/v3/calendars/"
|
||||
URL = "https://www.googleapis.com/calendar/v3/calendars/"
|
||||
+ SourceCalendar
|
||||
+ "/events/"
|
||||
+ Event
|
||||
|
@@ -417,7 +417,7 @@ Function MoveEvent(Val Token, Val SourceCalendar, Val TargetCalendar, Val Event)
|
||||
OPI_TypeConversion.GetLine(Event);
|
||||
|
||||
Headers = OPI_GoogleWorkspace.GetAuthorizationHeader(Token);
|
||||
URL = "https://www.googleapis.com/calendar/v3/calendars/"
|
||||
URL = "https://www.googleapis.com/calendar/v3/calendars/"
|
||||
+ SourceCalendar
|
||||
+ "/events/"
|
||||
+ Event
|
||||
|
@@ -1,21 +1,21 @@
|
||||
<package-def>
|
||||
<module name="OPI_Инструменты" file="tools/Modules/internal/Modules/OPI_Инструменты.os"/>
|
||||
<module name="OPI_GoogleWorkspace" file="core/Modules/OPI_GoogleWorkspace.os"/>
|
||||
<module name="OPI_GoogleDrive" file="core/Modules/OPI_GoogleDrive.os"/>
|
||||
<module name="OPI_ПреобразованиеТипов" file="tools/Modules/OPI_ПреобразованиеТипов.os"/>
|
||||
<module name="OPI_Viber" file="core/Modules/OPI_Viber.os"/>
|
||||
<module name="OPI_GoogleSheets" file="core/Modules/OPI_GoogleSheets.os"/>
|
||||
<module name="OPI_Криптография" file="tools/Modules/internal/Modules/OPI_Криптография.os"/>
|
||||
<module name="OPI_Notion" file="core/Modules/OPI_Notion.os"/>
|
||||
<module name="OPI_VK" file="core/Modules/OPI_VK.os"/>
|
||||
<module name="OPI_Dropbox" file="core/Modules/OPI_Dropbox.os"/>
|
||||
<module name="OPI_YandexID" file="core/Modules/OPI_YandexID.os"/>
|
||||
<module name="OPI_Airtable" file="core/Modules/OPI_Airtable.os"/>
|
||||
<module name="OPI_Twitter" file="core/Modules/OPI_Twitter.os"/>
|
||||
<module name="OPI_Slack" file="core/Modules/OPI_Slack.os"/>
|
||||
<module name="OPI_GoogleCalendar" file="core/Modules/OPI_GoogleCalendar.os"/>
|
||||
<module name="OPI_Bitrix24" file="core/Modules/OPI_Bitrix24.os"/>
|
||||
<module name="OPI_Dropbox" file="core/Modules/OPI_Dropbox.os"/>
|
||||
<module name="OPI_GoogleCalendar" file="core/Modules/OPI_GoogleCalendar.os"/>
|
||||
<module name="OPI_GoogleDrive" file="core/Modules/OPI_GoogleDrive.os"/>
|
||||
<module name="OPI_GoogleSheets" file="core/Modules/OPI_GoogleSheets.os"/>
|
||||
<module name="OPI_GoogleWorkspace" file="core/Modules/OPI_GoogleWorkspace.os"/>
|
||||
<module name="OPI_Notion" file="core/Modules/OPI_Notion.os"/>
|
||||
<module name="OPI_Slack" file="core/Modules/OPI_Slack.os"/>
|
||||
<module name="OPI_Telegram" file="core/Modules/OPI_Telegram.os"/>
|
||||
<module name="OPI_Twitter" file="core/Modules/OPI_Twitter.os"/>
|
||||
<module name="OPI_Viber" file="core/Modules/OPI_Viber.os"/>
|
||||
<module name="OPI_VK" file="core/Modules/OPI_VK.os"/>
|
||||
<module name="OPI_YandexDisk" file="core/Modules/OPI_YandexDisk.os"/>
|
||||
<module name="OPI_YandexID" file="core/Modules/OPI_YandexID.os"/>
|
||||
<module name="OPI_Инструменты" file="tools/Modules/internal/Modules/OPI_Инструменты.os"/>
|
||||
<module name="OPI_Криптография" file="tools/Modules/internal/Modules/OPI_Криптография.os"/>
|
||||
<module name="OPI_ПолучениеДанныхТестов" file="tools/Modules/OPI_ПолучениеДанныхТестов.os"/>
|
||||
<module name="OPI_ПреобразованиеТипов" file="tools/Modules/OPI_ПреобразованиеТипов.os"/>
|
||||
</package-def>
|
||||
|
@@ -423,9 +423,9 @@
|
||||
КонецФункции
|
||||
|
||||
Функция ПолучитьОбщийМодуль(Знач Имя)
|
||||
|
||||
|
||||
Модуль = Вычислить(Имя);
|
||||
|
||||
|
||||
Возврат Модуль;
|
||||
КонецФункции
|
||||
|
||||
|
@@ -241,7 +241,7 @@
|
||||
|
||||
СтрокаПараметров = СтрокаПараметров
|
||||
+ Параметр.Ключ
|
||||
+ " ="
|
||||
+ "="
|
||||
+ ЗначениеПараметра
|
||||
+ "&";
|
||||
КонецЦикла;
|
||||
|
@@ -241,7 +241,7 @@
|
||||
|
||||
СтрокаПараметров = СтрокаПараметров
|
||||
+ Параметр.Ключ
|
||||
+ " ="
|
||||
+ "="
|
||||
+ ЗначениеПараметра
|
||||
+ "&";
|
||||
КонецЦикла;
|
||||
|
Reference in New Issue
Block a user