File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
javascript/ql/lib/semmle/javascript Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import javascript
10
10
* See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions.
11
11
*/
12
12
module Actions {
13
- /** A YAML node in a GitHub Actions workflow or custom action file. */
13
+ /** A YAML node in a GitHub Actions workflow or a custom action file. */
14
14
private class Node extends YamlNode {
15
15
Node ( ) {
16
16
exists ( File f |
@@ -235,10 +235,10 @@ module Actions {
235
235
int getIndex ( ) { result = index }
236
236
237
237
/** Gets the `job` this step belongs to. The step may belong to a `job` in a workflow or `runs` in a custom action. */
238
- Job getJob ( ) { result = parent . ( Job ) }
238
+ Job getJob ( ) { result = parent }
239
239
240
240
/** Gets the `runs` this step belongs to. The step may belong to a `job` in a workflow or `runs` in a custom action. */
241
- Runs getRuns ( ) { result = parent . ( Runs ) }
241
+ Runs getRuns ( ) { result = parent }
242
242
243
243
/** Gets the value of the `uses` field in this step, if any. */
244
244
Uses getUses ( ) { result .getStep ( ) = this }
You can’t perform that action at this time.
0 commit comments