We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eeffd0 commit 649d44aCopy full SHA for 649d44a
1 file changed
index.js
@@ -95,7 +95,7 @@ ConfigReplace.prototype.processFile = function(config, filePath) {
95
96
ConfigReplace.prototype.writeFile = function(destPath, contents) {
97
if (!fs.existsSync(path.dirname(destPath))) {
98
- fs.mkdirSync(path.dirname(destPath));
+ fs.mkdirpSync(path.dirname(destPath));
99
}
100
101
fs.writeFileSync(destPath, contents, { encoding: 'utf8' });
0 commit comments