From af44d30a7ab6cb0dd5dc8b8385c075d4bd9714c8 Mon Sep 17 00:00:00 2001 From: Bsian Date: Wed, 1 Jan 2020 22:39:26 +0000 Subject: [PATCH] Remove ls --- 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 421289a..39d7920 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('ls && yarn run build', { cwd: '/var/CloudServices' }); + build = await this.client.util.exec('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\`\`\``);