Skip to content

Commit e551fde

Browse files
committed
data: allow running pipeline without wiping temp
Data pipeline ran with separate versions use different folders, so it makes sense to allow running multiple data pipelines without wiping in between. The default is still to wipe clean, so nobody will get caught by surprise.
1 parent 5bc88fc commit e551fde

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tasks/data.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ module.exports = function (grunt) {
44
grunt.registerTask('data', 'Build timezone data.', function (version) {
55
version = version || 'latest';
66

7-
grunt.task.run('clean:data');
7+
if (!grunt.option('dirty-run')) {
8+
grunt.task.run('clean:data');
9+
}
810

911
grunt.task.run([
1012
'data-download:' + version,

0 commit comments

Comments
 (0)