File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ Type: `Boolean`
122
122
123
123
Default: ` false `
124
124
125
- ### ` lastRun(task, [timeResolution ]) `
125
+ ### ` lastRun(task, [precision ]) `
126
126
127
127
Takes a string or function (` task ` ) and returns a timestamp of the last time the task
128
128
was run successfully. The time will be the time the task started.
@@ -133,7 +133,7 @@ If a task errors, the result of `lastRun` will be undefined because the task
133
133
should probably be re-run from scratch to get into a good state again.
134
134
135
135
The timestamp is always given in millisecond but the time resolution can be
136
- rounded using the ` timeResolution ` parameter. The use case is to be able to compare a build time
136
+ rounded using the ` precision ` parameter. The use case is to be able to compare a build time
137
137
to a file time attribute. On node v0.10 or with file system like HFS or FAT,
138
138
` fs.stat ` time attributes like ` mtime ` precision is one second.
139
139
You can’t perform that action at this time.
0 commit comments