-
With the Release notes generator creating an HTML file, is there a way we could access the content of this HTML file.
Is there any way to access this generated HTML file from the external node script which is called. I have a use case where I need access to the content of the file and I cannot use any external NPM package. So far, I tried using
For which I am getting the error in the build:
Version: Generate Release Notes (Crossplatform) 3.71.3 (Latest) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Actually I figured out the issue It was having the final output file as outputfile: '$(System.DefaultWorkingDirectory) Below is the final working script
|
Beta Was this translation helpful? Give feedback.
Actually I figured out the issue
It was having the final output file as outputfile: '$(System.DefaultWorkingDirectory)
\inline.html
'And I changed it to outputfile: '$(System.DefaultWorkingDirectory)
/inline.html
'Below is the final working script
const html = fs.readFileSync(path.resolve(__dirname, './inline.html'),'utf8');