Skip to content

Commit

Permalink
feat(editor): replace logging with file output
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofra committed Dec 19, 2024
1 parent 105e90d commit 41fccfb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/frontend/model/samples/check-hardcoded-urls.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"hops": [
{
"type": "runScript",
"code": "xPathQuery = str:join([\"/jcr:root\", args.path, \"//*[jcr:contains(., '\", args.phrase, \"') and jcr:contains(., '\", args.extension, \"') ]\"]);\n\n",
"code": "xPathQuery = str:join([\"/jcr:root\", args.path, \"//*[jcr:contains(., '\", args.phrase, \"') and jcr:contains(., '\", args.extension, \"') ]\"]);\noutput = utils.file.txt(\"hardcoded_urls\");\n\n",
"extension": "jexl",
"putLocalsBackIntoScope": true
},
Expand All @@ -28,8 +28,8 @@
"hops": [
{
"type": "runScript",
"code": "log.info(property.path)",
"extension": "js",
"code": "output.append(property.path);\noutput.append(\"\\n\");",
"extension": "jexl",
"putLocalsBackIntoScope": true
}
]
Expand Down

0 comments on commit 41fccfb

Please sign in to comment.