Skip to content

Commit 32767c6

Browse files
MoOxromainmenke
authored andcommitted
Adjust gnuMessage if no source available
1 parent 93057d8 commit 32767c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/postcss-custom-media/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@ function customMedia(options) {
6565
* @param {Object} source
6666
*/
6767
function gnuMessage(message, source) {
68-
return (source ? (source.file ? source.file : "<css input>") + ":" + source.start.line + ":" + source.start.column : "") + " " + message
68+
return (source ? (source.file ? source.file : "<css input>") + ":" + source.start.line + ":" + source.start.column + " " : "") + message
6969
}

0 commit comments

Comments
 (0)