You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling npx synthmanager update -a API_KEY --filename FILENAME, the file is being uploaded to New Relic with the first few lines of code locally written removed from the updated synthetic file.
The text was updated successfully, but these errors were encountered:
Going through your lib files, I noticed this in Defaults.js:
"require('new-relic-synthetics-manager');\n//----- Add synthetic code below this line\n"
and realized there may be an assumption that the first two lines of any synthetic are those lines of code and funny enough it ignores empty line spaces to essentially remove those lines of code. Should probably be documented somewhere that our synthetics require that line.
When calling
npx synthmanager update -a API_KEY --filename FILENAME
, the file is being uploaded to New Relic with the first few lines of code locally written removed from the updated synthetic file.The text was updated successfully, but these errors were encountered: