Skip to content

Commit 34c90da

Browse files
committed
Fixed issue with dev-server update not properly updating admin
1 parent 7c7c302 commit 34c90da

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
## __WORK IN PROGRESS__
55
-->
66

7+
## __WORK IN PROGRESS__
8+
9+
- (UncleSamSwiss) Fixed issue with `dev-server update` not properly updating admin
10+
711
## 0.2.0 (2021-05-05)
812

913
- (UncleSamSwiss) **Breaking Change:** it is no longer possible to use `dev-server` without providing a command. Use `dev-server run` for the same behavior as before.

dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ class DevServer {
239239
this.checkSetup();
240240
this.log.notice('Updating everything...');
241241
this.execSync('npm update --loglevel error', this.profileDir);
242+
this.uploadAdapter('admin');
242243
await this.installLocalAdapter();
243244
this.uploadAdapter(this.adapterName);
244245
this.log.box(`dev-server was sucessfully updated.`);

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,10 @@ class DevServer {
316316
private async update(): Promise<void> {
317317
this.checkSetup();
318318
this.log.notice('Updating everything...');
319+
319320
this.execSync('npm update --loglevel error', this.profileDir);
321+
this.uploadAdapter('admin');
322+
320323
await this.installLocalAdapter();
321324
this.uploadAdapter(this.adapterName);
322325

0 commit comments

Comments
 (0)