Skip to content

Commit 8921782

Browse files
committed
Commented experimental lines
1 parent f16399a commit 8921782

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/menus/update.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export default async (beforeError, forceUpdate) => {
157157
// Shows a message indicating that the bot is downloading the new version
158158
console.log(`⬇️ ${await client.functions.utils.parseLocale(locale.downloadingNewVersion, { targetVersion: `v${latestRemoteTag}`, repositoryURL: packageConfig.repository.url })} ...`);
159159

160-
// Ignores the config.json file
160+
// Ignores the config.json file --- EXPERIMENTAL
161161
await git.raw(['update-index', '--skip-worktree', 'config.json']);
162162

163163
// Makes a pull to update the bot
@@ -166,13 +166,13 @@ export default async (beforeError, forceUpdate) => {
166166
// Makes a checkout to the latest tag
167167
//await git.checkout(latestTag);
168168

169-
// Simulates a loading time
169+
// Simulates a loading time --- EXPERIMENTAL
170170
await new Promise(resolve => setTimeout(resolve, 3000));
171171

172172
// Shows a message indicating that the bot is migrating the database and the configuration files
173173
console.log(`🔄 ${locale.migrating} ...`);
174174

175-
// Simulates a loading time
175+
// Simulates a loading time --- EXPERIMENTAL
176176
await new Promise(resolve => setTimeout(resolve, 3000));
177177

178178
// Cleans the console and shows the logo

0 commit comments

Comments
 (0)