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

Source maps not read correctly when source file path contains spaces #40

Open
tjwoon opened this issue Sep 22, 2015 · 1 comment
Open

Comments

@tjwoon
Copy link

tjwoon commented Sep 22, 2015

When my source code is in a path with spaces, e.g. "Source Code", this task fails with the following output:

Running "concat_sourcemap:scripts" (concat_sourcemap) task
[D] Task source: /.../node_modules/grunt-concat-sourcemap/tasks/concat_sourcemap.js
Warning: Unable to read "Source%20Code/app.litcoffee" file (Error code: ENOENT). Use --force to continue.

concat_sourcemap options:

{
    sourcesContent: true
}
@tjwoon
Copy link
Author

tjwoon commented Sep 22, 2015

The .map file contains this:

{
  "version": 3,
  "file": "app.js",
  "sourceRoot": "../../Source%20Code/",
  "sources": [
    "app.litcoffee"
  ],
  "names": [],
  "mappings": "..."
}

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