{"action":"created","issue":{"url":"https://api.github.com/repos/davidtheclark/postcss-log-warnings/issues/5","labels_url":"https://api.github.com/repos/davidtheclark/postcss-log-warnings/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/davidtheclark/postcss-log-warnings/issues/5/comments","events_url":"https://api.github.com/repos/davidtheclark/postcss-log-warnings/issues/5/events","html_url":"https://github.com/davidtheclark/postcss-log-warnings/issues/5","id":79496094,"number":5,"title":"\"warnings were found\" but not shown","user":{"login":"VinSpee","id":582828,"avatar_url":"https://avatars.githubusercontent.com/u/582828?v=3","gravatar_id":"","url":"https://api.github.com/users/VinSpee","html_url":"https://github.com/VinSpee","followers_url":"https://api.github.com/users/VinSpee/followers","following_url":"https://api.github.com/users/VinSpee/following{/other_user}","gists_url":"https://api.github.com/users/VinSpee/gists{/gist_id}","starred_url":"https://api.github.com/users/VinSpee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VinSpee/subscriptions","organizations_url":"https://api.github.com/users/VinSpee/orgs","repos_url":"https://api.github.com/users/VinSpee/repos","events_url":"https://api.github.com/users/VinSpee/events{/privacy}","received_events_url":"https://api.github.com/users/VinSpee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-22T15:26:49Z","updated_at":"2015-05-24T02:56:51Z","closed_at":"2015-05-22T17:20:20Z","body":"Hi!\r\n\r\nI'm using postcss-log-warnings in tandem with postcss-bem-linter. My setup is as follows:\r\n\r\n```js\r\ngulp.task('styles:toolkit', function () {\r\n  var sourcemaps = require('gulp-sourcemaps');\r\n  var postcss = require('gulp-postcss');\r\n  var bem_linter = require('postcss-bem-linter');\r\n  var calc = require('postcss-calc');\r\n  var colorFunction = require('postcss-color-function');\r\n  var customMedia = require('postcss-custom-media');\r\n  var customProperties = require('postcss-custom-properties');\r\n  var fontVariant = require('postcss-font-variant');\r\n  var lost = require('lost');\r\n  var inline = require('postcss-import');\r\n  var nested = require('postcss-nested');\r\n  var simpleVars = require('postcss-simple-vars');\r\n  var plumber = require('gulp-plumber');\r\n  var logWarnings = require('postcss-log-warnings');\r\n  var processors = [\r\n    inline(),\r\n    nested,\r\n    bem_linter('suit', { namespace: 'l11' }),\r\n    customProperties(),\r\n    calc(),\r\n    simpleVars(),\r\n    customMedia(),\r\n    lost(),\r\n    colorFunction(),\r\n    fontVariant(),\r\n    logWarnings({throwError: true})\r\n  ];\r\n  return gulp.src(config.src.styles.toolkit)\r\n    .pipe(sourcemaps.init())\r\n    .pipe(plumber())\r\n    .pipe(postcss(processors))\r\n    .pipe(prefix())\r\n    .pipe(sourcemaps.write())\r\n    .pipe(gulpif(!config.dev, csso()))\r\n    .pipe(gulp.dest(config.dest + '/assets/toolkit/styles'))\r\n    .pipe(gulpif(config.dev, reload({stream:true})))\r\n});\r\n```\r\n\r\nwhen running (with an intentional bem-linter error), i get the following output:\r\n\r\n```bash\r\n> gulp styles:toolkit\r\n[11:22:31] Using gulpfile ~/projects/LevelEleven/ui-kit/gulpfile.js\r\n[11:22:31] Starting 'styles:toolkit'...\r\n[11:22:32] Finished 'styles:toolkit' after 1.23 s\r\n\r\n** postcss-log-warnings: warnings were found **\r\n```\r\n\r\nthe errors aren't shown. Any idea what's wrong with my setup?\r\n\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/davidtheclark/postcss-log-warnings/issues/comments/104971389","html_url":"https://github.com/davidtheclark/postcss-log-warnings/issues/5#issuecomment-104971389","issue_url":"https://api.github.com/repos/davidtheclark/postcss-log-warnings/issues/5","id":104971389,"user":{"login":"davidtheclark","id":628431,"avatar_url":"https://avatars.githubusercontent.com/u/628431?v=3","gravatar_id":"","url":"https://api.github.com/users/davidtheclark","html_url":"https://github.com/davidtheclark","followers_url":"https://api.github.com/users/davidtheclark/followers","following_url":"https://api.github.com/users/davidtheclark/following{/other_user}","gists_url":"https://api.github.com/users/davidtheclark/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtheclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtheclark/subscriptions","organizations_url":"https://api.github.com/users/davidtheclark/orgs","repos_url":"https://api.github.com/users/davidtheclark/repos","events_url":"https://api.github.com/users/davidtheclark/events{/privacy}","received_events_url":"https://api.github.com/users/davidtheclark/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T02:56:51Z","updated_at":"2015-05-24T02:56:51Z","body":"Turns out this probably is a problem with the plugin, @VinSpee : #6 "}}