Skip to content

Commit 4ac938c

Browse files
Ben DaviesJohannesHoppe
authored andcommitted
Replaced hardcoded slash with path.join
1 parent 207e339 commit 4ac938c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ exports.run = function (options) {
9595

9696
if (options.cname) {
9797
console.log('CNAME option is present with value: ' + options.cname);
98-
fs.writeFile(dir + '/CNAME', options.cname, function (err) {
98+
fs.writeFile(path.join(dir, 'CNAME'), options.cname, function (err) {
9999
if (err) {
100100
console.log(err);
101101
} else {

0 commit comments

Comments
 (0)