Incorrect use of --directory param #19496
Labels
area: schematics/angular
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
馃悶 Bug report
Command (mark with an
x
)Is this a regression?
No, this issue has been in the CLI for a long time
Description
When using the
--directory
param with the absolute path, the CLI does not respect the value and creates the directory path relative to the current directory instead.馃敩 Minimal Reproduction
Run the following command:
Expected behaviour:
The application is generated within
/tmp/app1
directory.Actual behaviour:
The application is generated within current directory:
./tmp/app1
馃實 Your Environment
Anything else relevant?
Using macOS
The text was updated successfully, but these errors were encountered: