mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 00:10:58 -05:00
Causing issues in container environment due to dockerignore
file
This commit is contained in:
parent
e9a1a1cce7
commit
a1fe7a5c7a
@ -81,7 +81,7 @@ export default class Developer {
|
|||||||
if (interaction.replied) interaction.followUp(update_success);
|
if (interaction.replied) interaction.followUp(update_success);
|
||||||
else interaction.reply(update_success);
|
else interaction.reply(update_success);
|
||||||
};
|
};
|
||||||
exec('git pull --rebase', {windowsHide:true}, (err:Error, stdout)=>{
|
exec('git pull', {windowsHide:true}, (err:Error, stdout)=>{
|
||||||
if (err) hammondYouIdiot.edit(`\`\`\`${UsernameHelper(err.message)}\`\`\``);
|
if (err) hammondYouIdiot.edit(`\`\`\`${UsernameHelper(err.message)}\`\`\``);
|
||||||
else if (stdout.includes('Already up to date')) hammondYouIdiot.edit('Repository is currently up to date.');
|
else if (stdout.includes('Already up to date')) hammondYouIdiot.edit('Repository is currently up to date.');
|
||||||
else hammondYouIdiot.edit('Running `yarn tsc`...').then(()=>exec('yarn tsc', {windowsHide:true}, (err:Error)=>{
|
else hammondYouIdiot.edit('Running `yarn tsc`...').then(()=>exec('yarn tsc', {windowsHide:true}, (err:Error)=>{
|
||||||
|
Loading…
Reference in New Issue
Block a user