Skip to content

Commit

Permalink
add platform and architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Jun 30, 2023
1 parent fbeb600 commit a0b53a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/astro/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { formatConfigErrorMessage, formatErrorMessage, printHelp } from '../core
import * as event from '../events/index.js';
import { eventConfigError, eventError, telemetry } from '../events/index.js';
import { openInBrowser } from './open.js';
import type { AstroIntegration } from '../@types/astro';
import { arch, platform } from 'node:os';

type Arguments = yargs.Arguments;
type CLICommand =
Expand Down Expand Up @@ -114,6 +114,8 @@ async function printInfo({
console.log();
printRow('Astro version', `v${ASTRO_VERSION}`);
printRow('Package manager', packageManager.name);
printRow('Platform', platform());
printRow('Architecture', arch());
printRow('Adapter', adapter);
let integrationsString = "None or couldn't determine.";
if (integrations.length > 0) {
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit a0b53a4

Please sign in to comment.