Skip to content

Commit e969b79

Browse files
authored
Merge pull request #80 from C-Lodder/XhmikosR-patch-1
Remove extra `>>`
2 parents 2fc77f8 + b8a2558 commit e969b79

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tasks/postcss.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ module.exports = (grunt) => {
6161
const map = typeof options.map === 'boolean' ?
6262
options.map : {
6363
prev: getPrevMap(from),
64-
inline: (typeof options.map.inline === 'boolean') ? options.map.inline : true,
64+
inline: typeof options.map.inline === 'boolean' ? options.map.inline : true,
6565
annotation: getAnnotation(to),
66-
sourcesContent: (typeof options.map.sourcesContent === 'boolean') ? options.map.sourcesContent : true,
67-
absolute: (typeof options.map.absolute === 'boolean') ? options.map.absolute : false,
66+
sourcesContent: typeof options.map.sourcesContent === 'boolean' ? options.map.sourcesContent : true,
67+
absolute: typeof options.map.absolute === 'boolean' ? options.map.absolute : false,
6868
}
6969

7070
return processor.process(input, {
@@ -181,7 +181,7 @@ module.exports = (grunt) => {
181181
if (options.writeDest) {
182182
tally.sizeAfter += result.css.length
183183
grunt.file.write(dest, result.css)
184-
grunt.log.ok('>> File \x1b[36m%s\x1b[0m created. \x1b[36m%s\x1b[0m', dest, maxmin(input.length, result.css.length))
184+
grunt.log.ok('File \x1b[36m%s\x1b[0m created. \x1b[36m%s\x1b[0m', dest, maxmin(input.length, result.css.length))
185185
}
186186

187187
tally.sheets += 1
@@ -194,7 +194,7 @@ module.exports = (grunt) => {
194194
}
195195

196196
grunt.file.write(mapDest, result.map.toString())
197-
grunt.log.ok('>> File \x1b[36m%s\x1b[0m created (source map).', `${dest}.map`)
197+
grunt.log.ok('File \x1b[36m%s\x1b[0m created (source map).', `${dest}.map`)
198198

199199
tally.maps += 1
200200
}
@@ -203,7 +203,7 @@ module.exports = (grunt) => {
203203
const diffPath = typeof options.diff === 'string' ? options.diff : `${dest}.diff`
204204

205205
grunt.file.write(diffPath, diff.createPatch(dest, input, result.css))
206-
grunt.log.ok('>> File \x1b[36m%s\x1b[0m created (diff).', diffPath)
206+
grunt.log.ok('File \x1b[36m%s\x1b[0m created (diff).', diffPath)
207207

208208
tally.diffs += 1
209209
}
@@ -222,11 +222,11 @@ module.exports = (grunt) => {
222222
}
223223

224224
if (tally.maps) {
225-
grunt.log.ok(`>> ${tally.maps} ${grunt.util.pluralize(tally.maps, 'sourcemap/sourcemaps')} created.`)
225+
grunt.log.ok(`${tally.maps} ${grunt.util.pluralize(tally.maps, 'sourcemap/sourcemaps')} created.`)
226226
}
227227

228228
if (tally.diffs) {
229-
grunt.log.ok(`>> ${tally.diffs} ${grunt.util.pluralize(tally.diffs, 'diff/diffs')} created.`)
229+
grunt.log.ok(`${tally.diffs} ${grunt.util.pluralize(tally.diffs, 'diff/diffs')} created.`)
230230
}
231231

232232
if (tally.issues) {

0 commit comments

Comments
 (0)