Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Commit

Permalink
docs: fix read_file task's result
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Oct 14, 2020
1 parent aa09f04 commit 96978a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ phases:
- foo
when: |
text := import("text")
result := text.contains(Task[0].FileText, "dist")
result := text.contains(Task[0].File.Text, "dist")
```
### Refer to the pull request meta information in the configuration
Expand Down Expand Up @@ -578,7 +578,8 @@ phases:
foo: foo
- Name: bar
Status: succeeded
FileText: foo # The content of the file
File:
Text: foo # The content of the file
...
Tasks: # the tasks of the current phase
- Name: init # the task name
Expand Down

0 comments on commit 96978a3

Please sign in to comment.