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
While requesting latest artifacts from AppVeyor yesterday, I realized that some source-map path related tests were failing on Windows which are passing on Linux (and even Windows when switched back to libsass v3.2.0 stable, i.e. node-sass current master).
git clone -b request-ci-artifacts https://github.com/am11/node-sass
cd node-sass
git submodule update --init --recursive
# currently pointing to tip of libsass master
npm install
node scripts/build -f
mkdir /temp
notepad /temp/blah.scss
# enter:# a{b:c}# save and close
node
# in node REPL
r = require('./').renderSync({file:'/temp/blah.scss', outFile: '/temp/blah.css', sourceMap: true})
r.css.toString()
r.map.toString()
Yields:
'a {\n b: c; }\n\n/*# sourceMappingURL=C:/temp/blah.css.map */'
(sourceMappURL is absolute path, which is incorrect)
While requesting latest artifacts from AppVeyor yesterday, I realized that some source-map path related tests were failing on Windows which are passing on Linux (and even Windows when switched back to libsass v3.2.0 stable, i.e. node-sass current master).
TravisCI build: https://travis-ci.org/am11/node-sass/jobs/77901212
AppVeyor build: https://ci.appveyor.com/project/am11/node-sass/build/702
Step to repro:
In PowerShell:
Yields:
(sourceMappURL is absolute path, which is incorrect)
and
(file path and those in sources array are absolute, which is again incorrect)
Repeated ditto steps on Ubuntu (with
sudo -i
and switchnotepad
withnano
); received the desired output:and
The text was updated successfully, but these errors were encountered: