Skip to content

Commit d1e8081

Browse files
committed
PR feedback
1 parent 796bfb8 commit d1e8081

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

stack/rush-stack/src/cli/RushStackCommandLine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class RushStackCommandLine extends CommandLineParser {
1010
constructor() {
1111
super({
1212
toolFilename: 'rush-stack',
13-
toolDescription: 'The professional quality TypeScript build rig that\'s complete, integrated, and scalable'
13+
toolDescription: ''
1414
});
1515
this._populateActions();
1616
}

stack/rush-stack/src/start.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
import * as os from 'os';
55
import * as colors from 'colors';
66
import * as path from 'path';
7+
import { JsonFile } from '@microsoft/node-core-library';
78

89
import { RushStackCommandLine } from './cli/RushStackCommandLine';
910

1011
const myPackageJsonFilename: string = path.resolve(path.join(
1112
__dirname, '..', 'package.json')
1213
);
13-
const myPackageJson: { version: string } = require(myPackageJsonFilename);
14+
const myPackageJson: { version: string } = JsonFile.load(myPackageJsonFilename);
1415

1516
console.log(os.EOL + colors.bold(`rush-stack ${myPackageJson.version} `
1617
+ colors.cyan(' - http://rushstack.io') + os.EOL));

0 commit comments

Comments
 (0)