Skip to content

Commit

Permalink
server: remove os machine usage which only exists in recent node builds
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 27, 2023
1 parent b55e7ca commit d330e2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/src/plugin/plugin-host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export class PluginHost {

this.worker.stdout.on('data', data => console.log(data.toString()));
this.worker.stderr.on('data', data => console.error(data.toString()));
const consoleHeader = `${os.platform()} ${os.arch()} ${os.machine()} ${os.version()}\nserver version: ${serverVersion}\nplugin version: ${this.pluginId} ${this.packageJson.version}\n`;
const consoleHeader = `${os.platform()} ${os.arch()} ${os.version()}\nserver version: ${serverVersion}\nplugin version: ${this.pluginId} ${this.packageJson.version}\n`;
this.consoleServer = createConsoleServer(this.worker.stdout, this.worker.stderr, consoleHeader);

const disconnect = () => {
Expand Down

0 comments on commit d330e2e

Please sign in to comment.