Изменения от Главреда ГитЖС | Changes of GitJS Glavred

This commit is contained in:
Главред | Glavred committed 2020-08-11 14:44:35 +03:00
1 parent 229c34cccd
commit 5209d7d16f
2 files changed
+12 -2

No files matched your search

+1 -1
View File
@@ -3,4 +3,4 @@
https://git.opengamestudio.org/glavred/glavred-izdatel-publisher
x /пуск|run.js
/пуск|run.череда
/пуск|run.череда
+11 -1
View File
@@ -46,7 +46,7 @@
ПродублироватьСодержимоеПубликуемогоМодуляВЛокальнуюКопиюГит = мир =>
{
(async() => {
// Файлы.
var содержимое = мир.редактируемыйМодуль.содержимое;
for (var файл in содержимое)
{
@@ -60,6 +60,16 @@
filepath: путь,
});
}
// Файл 0000.
var файл0000 = мир.собрать0000(мир.редактируемыйМодуль);
await мир.fs.promises.writeFile(мир.директория + "/0000", файл0000, "utf8");
await git.add({
fs: мир.fs,
dir: мир.директория,
filepath: "0000",
});
await git.commit({
fs: мир.fs,
dir: мир.директория,