Skip to content

Commit d7383c9

Browse files
committed
Fix .well-known subdirs not getting renamed
1 parent e1390af commit d7383c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ var ping = exports.ping = pingLazymention('http://strugee.net:7517/jobs/submit',
145145
var misc = exports.misc = function misc() {
146146
return gulp.src(['COPYING', 'src/misc/**/*', 'src/misc/.*'])
147147
.pipe(rename(function(path) {
148-
if (path.dirname === 'well-known') path.dirname = '.well-known';
148+
if (path.dirname.startsWith('well-known')) path.dirname = '.' + path.dirname;
149149
// This next one isn't *really* needed, but it keeps a useless empty directory out of dist/
150150
if (path.basename === 'well-known') path.basename = '.well-known';
151151
}))

0 commit comments

Comments
 (0)