Check something
parent
bee69c5041
commit
6390276306
|
@ -71,7 +71,7 @@ export default class Pull extends Command {
|
||||||
|
|
||||||
let build: string;
|
let build: string;
|
||||||
try {
|
try {
|
||||||
build = await this.client.util.exec('yarn run build', { cwd: '/var/CloudServices' });
|
build = await this.client.util.exec('ls && yarn run build', { cwd: '/var/CloudServices' });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
const updatedMessage = updatedPackages.content.replace(`${this.client.stores.emojis.loading} ***Rebuilding files...***`, `${this.client.stores.emojis.error} ***Failed to rebuild files***`)
|
const updatedMessage = updatedPackages.content.replace(`${this.client.stores.emojis.loading} ***Rebuilding files...***`, `${this.client.stores.emojis.error} ***Failed to rebuild files***`)
|
||||||
.replace(/```$/, `${error.message}\n\`\`\``);
|
.replace(/```$/, `${error.message}\n\`\`\``);
|
||||||
|
|
Loading…
Reference in New Issue