Skip to content

Commit

Permalink
fix: Replace Deno.platform with Deno.build (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
justjavac authored and egoist committed Sep 10, 2019
1 parent a70248e commit 1042c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export const exit = (code: number) => {
export const processArgs = deno ? ['deno'].concat(Deno.args) : process.argv

export const platformInfo = deno
? `${Deno.platform.os}-${Deno.platform.arch} deno-${Deno.version.deno}`
? `${Deno.build.os}-${Deno.build.arch} deno-${Deno.version.deno}`
: `${process.platform}-${process.arch} node-${process.version}`

0 comments on commit 1042c34

Please sign in to comment.