Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task finishes after five renames #8

Open
zreese opened this issue Jun 28, 2017 · 0 comments
Open

Task finishes after five renames #8

zreese opened this issue Jun 28, 2017 · 0 comments

Comments

@zreese
Copy link

zreese commented Jun 28, 2017

Input:

		rename: {
		  pageids: {
		    files: [
		  		{
					src: ['../crn-main/page-3750.php'],
					dest: '../crn-main/page-4077.php'
				},
				{
					src: ['../crn-main/page-3812.php'],
					dest: '../crn-main/page-4079.php'
				},
				{
					src: ['../crn-main/page-3809.php'],
					dest: '../crn-main/page-4081.php'
				},
				{
					src: ['../crn-main/page-3712.php'],
					dest: '../crn-main/page-4083.php'
				},
				{
					src: ['../crn-main/page-3714.php'],
					dest: '../crn-main/page-4089.php'
				},
				{
					src: ['../crn-main/page-3716.php'],
					dest: '../crn-main/page-4085.php'
				},
				{
					src: ['../crn-main/page-3664.php'],
					dest: '../crn-main/page-4087.php'
				},
				{
					src: ['../crn-main/page-3764.php'],
					dest: '../crn-main/page-4092.php'
				}
		      ]
		  }
		}

Output:

Running "rename:pageids" (rename) task
Renaming File ../crn-main/page-3750.php -> ../crn-main/page-4077.php
Renaming File ../crn-main/page-3812.php -> ../crn-main/page-4079.php
Renaming File ../crn-main/page-3809.php -> ../crn-main/page-4081.php
Renaming File ../crn-main/page-3712.php -> ../crn-main/page-4083.php
Renaming File ../crn-main/page-3714.php -> ../crn-main/page-4089.php

Done, without errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant