From 6390276306604a97be6b48e995bf77378f44c546 Mon Sep 17 00:00:00 2001 From: Bsian Date: Wed, 1 Jan 2020 22:09:15 +0000 Subject: [PATCH] Check something --- src/commands/pull.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/pull.ts b/src/commands/pull.ts index 39d7920..421289a 100644 --- a/src/commands/pull.ts +++ b/src/commands/pull.ts @@ -71,7 +71,7 @@ export default class Pull extends Command { let build: string; 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) { 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\`\`\``);