We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
longDescriptionRelativePath
1 parent a517160 commit a6d78a9Copy full SHA for a6d78a9
packages/angular/cli/src/command-builder/command-module.ts
@@ -89,10 +89,9 @@ export abstract class CommandModule<T extends {} = {}> implements CommandModuleI
89
describe: this.describe,
90
...(this.longDescriptionPath
91
? {
92
- longDescriptionRelativePath: path.relative(
93
- path.join(__dirname, '../../../../'),
94
- this.longDescriptionPath,
95
- ),
+ longDescriptionRelativePath: path
+ .relative(path.join(__dirname, '../../../../'), this.longDescriptionPath)
+ .replace(/\\/g, path.posix.sep),
96
longDescription: readFileSync(this.longDescriptionPath, 'utf8'),
97
}
98
: {}),
0 commit comments