Skip to content

Commit b8a2558

Browse files
authored
Remove extra >>
1 parent bf7cf9c commit b8a2558

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, {
@@ -180,7 +180,7 @@ module.exports = (grunt) => {
180180
if (options.writeDest) {
181181
tally.sizeAfter += result.css.length
182182
grunt.file.write(dest, result.css)
183-
grunt.log.ok('>> File \x1b[36m%s\x1b[0m created. \x1b[36m%s\x1b[0m', dest, maxmin(input.length, result.css.length))
183+
grunt.log.ok('File \x1b[36m%s\x1b[0m created. \x1b[36m%s\x1b[0m', dest, maxmin(input.length, result.css.length))
184184
}
185185

186186
tally.sheets += 1
@@ -193,7 +193,7 @@ module.exports = (grunt) => {
193193
}
194194

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

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

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

207207
tally.diffs += 1
208208
}
@@ -221,11 +221,11 @@ module.exports = (grunt) => {
221221
}
222222

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

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

231231
if (tally.issues) {

0 commit comments

Comments
 (0)