Skip to content

Commit

Permalink
CFE-2915 Align example in docs with bodies that exist in the stdlib
Browse files Browse the repository at this point in the history
While the example is technically correct, using the body name from the stdlib
will encourage use of existing bodies instead of duplicating them as someone
trying to copy/paste will receive a duplicate definition of body error.
  • Loading branch information
nickanderson committed Oct 8, 2018
1 parent 23d1975 commit fa0aecf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reference/promise-types/files.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -1473,17 +1473,17 @@ object.
"/home/mark/tmp/testcopy"
delete => tidyfiles,
delete => tidy,
file_select => changed_within_1_year,
depth_search => recurse("inf");
# Now delete the parent.
"/home/mark/tmp/testcopy"
delete => tidyfiles;
delete => tidy;
}
body delete tidyfiles
body delete tidy
{
dirlinks => "delete";
rmdirs => "true";
Expand Down

0 comments on commit fa0aecf

Please sign in to comment.