We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
path.join()
1 parent fb7502d commit fefb8a9Copy full SHA for fefb8a9
1 file changed
tasks/csscomb.js
@@ -20,7 +20,7 @@ module.exports = function (grunt) {
20
function getConfigPath(configPath) {
21
var dirname, parentDirname;
22
23
- configPath = configPath || process.cwd() + '/.csscomb.json';
+ configPath = configPath || path.join(process.cwd(), '.csscomb.json');
24
25
// If we've finally found a config, return its path:
26
if (grunt.file.exists(configPath)) {
@@ -41,7 +41,7 @@ module.exports = function (grunt) {
41
42
// If there is no config in this directory, go one level up and look for
43
// a config there:
44
- configPath = parentDirname + '/.csscomb.json';
+ configPath = path.join(parentDirname, '.csscomb.json');
45
return getConfigPath(configPath);
46
}
47
0 commit comments