Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit f8526fd

Browse files
abdel-ships-itdanbucholtz
authored andcommitted
Fix(aot): Properly appends file content (#622)
I haven't been able to get NGC to kick in using different flags as mentioned at d53f25f, this typo might be the cause of the issue.
1 parent 8aae85c commit f8526fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aot/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function getPlatformBrowserFunctionNode(filePath: string, fileContent: string) {
9696
modifiedFileContent = appendBefore(filePath, modifiedFileContent, callsToPlatformBrowser[0].expression, toAppend);
9797
} else {
9898
// just throw it at the bottom
99-
modifiedFileContent + toAppend;
99+
modifiedFileContent += toAppend;
100100
}
101101
return modifiedFileContent;
102102
}

0 commit comments

Comments
 (0)