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

Audio files are breaking :'( #296

Open
msqaddura opened this issue Oct 6, 2017 · 1 comment
Open

Audio files are breaking :'( #296

msqaddura opened this issue Oct 6, 2017 · 1 comment

Comments

@msqaddura
Copy link

copy: {
	main: {
		files: [
			{src: ['something/**'], dest: 'output/'},
			{src: ['anotherthing/**'], dest: 'output/'},
		],
		options: {
			process: function (content, srcpath) {
				return content; // to keep it short lets just return content as is
			},
		  },
	},

if an .mp3 file is passed there the process function breaks the file :( i could think of it as an EOF or encoding problem but it is a bit uncomfy to dig around and see the where and which causes the problem.
Do we have a quickie fix for that issue? or someone face the same thing I am having?

I tried so far

  1. putting process everywhere in the structure --> only worked in options inside main but for example not inside one of the jsons inside files array
  2. return contect directly and not returning anything

Thanks in advance <3

@msqaddura
Copy link
Author

I will leave it here in case someone had the same issue but please check this one
#278

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