Skip to content

Commit faf7bc5

Browse files
charlie-schristopherthielen
authored andcommitted
Fixed broken template literal syntax in getResolveValue. (#2951)
1 parent b8c6146 commit faf7bc5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/transition/transition.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/** @module transition */ /** for typedoc */
2+
import {stringify} from "../common/strings";
23
import {trace} from "../common/trace";
34
import {services} from "../common/coreservices";
45
import {
@@ -257,7 +258,7 @@ export class Transition implements IHookRegistry {
257258
const getData = (token: any) => {
258259
var resolvable = resolveContext.getResolvable(token);
259260
if (resolvable === undefined) {
260-
throw new Error("Dependency Injection token not found: ${stringify(token)}");
261+
throw new Error(`Dependency Injection token not found: ${stringify(token)}`);
261262
}
262263
return resolvable.data;
263264
};
@@ -580,4 +581,4 @@ export class Transition implements IHookRegistry {
580581

581582
return `Transition#${id}( '${from}'${fromParams} -> ${toValid}'${to}'${toParams} )`;
582583
}
583-
}
584+
}

0 commit comments

Comments
 (0)