Skip to content

Commit 9edeb86

Browse files
alan-agius4clydin
authored andcommitted
fix(@angular/cli): add long description to ng update
The long-description.md was not referenced in `UpdateCommandModule`.
1 parent 6d37ffc commit 9edeb86

File tree

1 file changed

+2
-1
lines changed
  • packages/angular/cli/src/commands/update

1 file changed

+2
-1
lines changed

packages/angular/cli/src/commands/update/cli.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9+
import { join } from 'path';
910
import { Argv } from 'yargs';
1011
import {
1112
CommandModule,
@@ -33,7 +34,7 @@ export class UpdateCommandModule extends CommandModule<UpdateCommandArgs> {
3334

3435
command = 'update [packages..]';
3536
describe = 'Updates your workspace and its dependencies. See https://update.angular.io/.';
36-
longDescriptionPath?: string | undefined;
37+
longDescriptionPath = join(__dirname, 'long-description.md');
3738

3839
builder(localYargs: Argv): Argv<UpdateCommandArgs> {
3940
return localYargs

0 commit comments

Comments
 (0)