From 8828bb8c0e743d9ac2b13a144ea4565d6d2ea7fc Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 7 Mar 2019 09:11:49 -0500 Subject: [PATCH] Rename Deno.build.gnArgs to Deno.build.args --- js/build.ts | 6 +++--- js/build_test.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/build.ts b/js/build.ts index b2f52dbc14..e883cdba09 100644 --- a/js/build.ts +++ b/js/build.ts @@ -9,8 +9,8 @@ export interface BuildInfo { /** The operating system platform. */ os: OSType; - /** The GN build arguments */ - gnArgs: string; + /** The arguments passed to GN during build. See `gn help buildargs`. */ + args: string; } /** The operating system platform. */ @@ -26,7 +26,7 @@ export const build: BuildInfo = { // These string will be replaced by rollup arch: `ROLLUP_REPLACE_ARCH` as any, os: `ROLLUP_REPLACE_OS` as any, - gnArgs: `ROLLUP_REPLACE_GN_ARGS` + args: `ROLLUP_REPLACE_GN_ARGS` /* eslint-enable @typescript-eslint/no-explicit-any */ }; diff --git a/js/build_test.ts b/js/build_test.ts index 7ef39a0401..106b5b1842 100644 --- a/js/build_test.ts +++ b/js/build_test.ts @@ -10,5 +10,5 @@ test(function buildInfo() { }); test(function buildGnArgs() { - assert(Deno.build.gnArgs.length > 100); + assert(Deno.build.args.length > 100); });