nx icon indicating copy to clipboard operation
nx copied to clipboard

Zero gets stripped from run-commands arguments

Open vinceve opened this issue 1 year ago • 0 comments

Current Behavior

Currently this command implements an echo {args.buildNumber}

npx nx echo my-project --buildNumber="20230613.10"

The result of the echo

20230613.1

The 0 gets chopped off

Expected Behavior

The result should be

20230613.10

GitHub Repo

No response

Steps to Reproduce

Currently this command implements an echo {args.buildNumber}

npx nx echo my-project --buildNumber="20230613.10"

The result of the echo

20230613.1

The 0 gets chopped off

Nx Report

Node   : 18.16.0
   OS     : darwin x64
   npm    : 9.5.1
   Hasher : Native

   nx                 : 16.3.2
   @nx/js             : 16.3.2
   @nx/jest           : 16.3.2
   @nx/linter         : 16.3.2
   @nx/workspace      : 16.3.2
   @nx/cypress        : 16.3.2
   @nx/devkit         : 16.3.2
   @nrwl/devkit       : 15.9.4
   @nx/eslint-plugin  : 16.3.2
   @nx/next           : 16.3.2
   @nx/react          : 16.3.2
   @nx/rollup         : 16.3.2
   @nrwl/tao          : 16.3.2
   @nx/web            : 16.3.2
   @nx/webpack        : 16.3.2
   nx-cloud           : 16.0.5
   typescript         : 5.0.2
   ---------------------------------------
   Community plugins:
   @nx-tools/nx-container : 4.0.4
   ---------------------------------------
   Local workspace plugins:
   	 @myproject/components
   ---------------------------------------
   The following packages should match the installed version of nx
     - @nrwl/[email protected]

   To fix this, run `nx migrate [email protected]`

Failure Logs

No response

Operating System

  • [X] macOS
  • [ ] Linux
  • [ ] Windows
  • [ ] Other (Please specify)

Additional Information

No response

vinceve avatar Jun 13 '23 15:06 vinceve