Package: node-stylus Version: 0.48.1+dfsg-1 Severity: normal File: /usr/lib/nodejs/stylus/bin/stylus
Dear Maintainer, If you use the ``.styl`` file extension, stylus compiles to a new file with the ``.css`` extension (seems reasonable enough) $ echo -e "body\n\tfont sans-serif" > test.styl $ stylus test.styl compiled test.css $ cat test.styl body font sans-serif But if you use a different file extension, it overwrites your file: $ echo -e "body\n\tfont sans-serif" > test.stylus $ stylus test.stylus compiled test.stylus $ cat test.stylus body { font: sans-serif; } I think this is very bad. Stylus should not overwrite the source file unless explicitly told to do so. It should create test.css or test.stylus.css Thank you :) -- Jason -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.14-2-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages node-stylus depends on: ii node-css-parse 1.7.0+dfsg-1 ii node-debug 0.8.1-1 ii node-glob 4.0.5-1 ii node-mkdirp 0.5.0-1 ii node-sax 0.5.5-1 ii node-source-map 0.1.34-1 ii nodejs 0.10.29~dfsg-1 node-stylus recommends no packages. node-stylus suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org