mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Move commands and run them always
This commit is contained in:
@@ -58,11 +58,11 @@ class UpdateNNTmux extends Command
|
||||
if ($fail) {
|
||||
$this->error('Db updating failed!!');
|
||||
}
|
||||
// Install npm packages
|
||||
Process::run('npm install')->output();
|
||||
// Run npm build
|
||||
Process::run('npm run build')->output();
|
||||
}
|
||||
// Install npm packages
|
||||
Process::run('npm install')->output();
|
||||
// Run npm build
|
||||
Process::run('npm run build')->output();
|
||||
} catch (\Exception $e) {
|
||||
$this->error($e->getMessage());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user