You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (this._sourceMapBasepath && filename.indexOf(this._sourceMapBasepath) === 0) {
assumes that filename and _sourceMapBasepath are expressed using the same path separators. This may not be the case if sourceMapBasepath is specified through grunt-contrib-less and the Gruntfile is used on both Windows and *n.x. Normalizing this._sourceMapBasepath before the indexOf call would fix the problem.
Workaround: in the grunt-less-contrib options, set the sourceMapBasepath property using require('path').normalize(mySourceMapBasepath).
My env: LESS 1.5.0 called through grunt-contrib-less 0.8.1 running on Win 7 Enterprise SP1 64-bit. All paths specified in Gruntfile.js are written using '/' as a path separator.
The text was updated successfully, but these errors were encountered:
In lib /less/source-map-output.js at line 25:
assumes that filename and _sourceMapBasepath are expressed using the same path separators. This may not be the case if sourceMapBasepath is specified through grunt-contrib-less and the Gruntfile is used on both Windows and *n.x. Normalizing this._sourceMapBasepath before the indexOf call would fix the problem.
Workaround: in the grunt-less-contrib options, set the sourceMapBasepath property using require('path').normalize(mySourceMapBasepath).
My env: LESS 1.5.0 called through grunt-contrib-less 0.8.1 running on Win 7 Enterprise SP1 64-bit. All paths specified in Gruntfile.js are written using '/' as a path separator.
The text was updated successfully, but these errors were encountered: