Skip to content

Commit

Permalink
Merge pull request #2334 from microsoft/octogonz/heft-mini-fixes
Browse files Browse the repository at this point in the history
[heft] A couple tiny fixes
  • Loading branch information
octogonz authored Nov 10, 2020
2 parents e5b1010 + cb82782 commit 1abf3a2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/heft/src/plugins/TypeScriptPlugin/EmitFilesPatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface ICachedEmitModuleKind {

/**
* Set to true if this is the emit kind that is specified in the tsconfig.json.
* Sourcemaps and declarations are only emitted for the primary module kind.
* Declarations are only emitted for the primary module kind.
*/
isPrimary: boolean;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class TypeScriptBuilder extends SubprocessRunnerBase<ITypeScriptBuilderCo
const parsedVersion: semver.SemVer | null = semver.parse(this._typescriptVersion);
if (!parsedVersion) {
throw new Error(
'Unable to parse version "${this._typescriptVersion}" for TypeScript compiler package in: ' +
`Unable to parse version "${this._typescriptVersion}" for TypeScript compiler package in: ` +
compilerPackageJsonFilename
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@rushstack/heft",
"comment": "Fix an incorrectly formatted error message",
"type": "patch"
}
],
"packageName": "@rushstack/heft",
"email": "4673363+octogonz@users.noreply.github.com"
}

0 comments on commit 1abf3a2

Please sign in to comment.