Remove ls

merge-requests/2/merge
Bsian 2020-01-01 22:39:26 +00:00
parent c9f49a5fce
commit af44d30a7a
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export default class Pull extends Command {
let build: string; let build: string;
try { 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) { } 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\`\`\``);