danvk / source-map-explorer

Analyze and debug space usage through source maps
Apache License 2.0
3.83k stars 101 forks source link

Running with *.js and '*.js' (quoted) should behave the same #88

Closed nikolay-borzov closed 5 years ago

nikolay-borzov commented 5 years ago

✋ I need someone who can test solution on unix system

nikolay-borzov commented 5 years ago

In a Unix shell running source-map-explorer testdata/*.js will expand the glob in your shell and invoke the program with a variable number of arguments.

I didn't know that. It complicates things

AsaAyers commented 5 years ago

In most shells a single quote means you don't want the filenames expanded, but if you use double quotes "*.js" will expand. This seems like the better solution is to just use double quotes on whatever it is that's produce a command that has to be quoted. Maybe you're using quotes because the path contains spaces?

nikolay-borzov commented 5 years ago

Okay what we need is: