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

Error in replaceInFile #222

Open
axwel13 opened this issue Jan 31, 2017 · 2 comments
Open

Error in replaceInFile #222

axwel13 opened this issue Jan 31, 2017 · 2 comments

Comments

@axwel13
Copy link

axwel13 commented Jan 31, 2017

Hello,

There is an error between the package 1.4.1 and 1.5.0 in replaceInFile.

var replace = [
// abs path
['/' + original, '/' + hashed], // <== the error is here
/* I suggest add in replace array */
[original, hashed],
// relative
[grunt.util.repeat(fileDepth, '../') + original, grunt.util.repeat(fileDepth, '../') + hashed],
 ];
@CM-Aprima
Copy link

Was this ever fixed? I am having the same problem.

@NicoVIII
Copy link

NicoVIII commented Jun 1, 2017

I have this problem as well.
"src/to/file" is not replaced, only "/src/to/file" is

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

3 participants