File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ module.exports = (grunt) => {
45
45
}
46
46
47
47
if ( typeof options . map . annotation === 'string' ) {
48
- //annotation = path.relative(path.dirname(to), getSourcemapPath(to));
49
48
annotation = path . relative ( path . dirname ( to ) , getSourcemapPath ( to ) ) . replace ( / \\ / g, '/' ) ;
50
49
}
51
50
Original file line number Diff line number Diff line change 1
- const fs = require ( 'fs' ) ;
2
- const { readFile, access } = fs . promises ;
1
+ const { readFile, access } = require ( 'fs' ) . promises ;
3
2
4
3
/*
5
4
======== A Handy Little Nodeunit Reference ========
@@ -146,8 +145,9 @@ exports.gruntPostcss = {
146
145
147
146
writeDest : async ( test ) => {
148
147
const checkExists = await fileExists ( 'tmp/doWriteDest.css' ) ;
149
- const checkNoExists = await fileExists ( 'tmp/noWriteDest.css' ) ;
150
148
test . ok ( checkExists ) ;
149
+
150
+ const checkNoExists = await fileExists ( 'tmp/noWriteDest.css' ) ;
151
151
test . ok ( ! checkNoExists ) ;
152
152
test . done ( ) ;
153
153
} ,
You can’t perform that action at this time.
0 commit comments