Skip to content

Commit

Permalink
Formatting changes
Browse files Browse the repository at this point in the history
marc136 committed Jan 2, 2025
1 parent 865f1bb commit 484f105
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -401,7 +401,7 @@ function notUndefined(obj) {

function reduceGlobPatterns(globs, name) {
if (isFunction(globs)) {
log.glob(`Using function to ${name}`)
log.glob(`Using function to ${name}`);
return globs;
} else if (!globs || !Array.isArray(globs) || globs.length === 0) {
return undefined;
4 changes: 2 additions & 2 deletions test/folders.js
Original file line number Diff line number Diff line change
@@ -235,11 +235,11 @@ describe('Generating a hash over a folder, it', function () {
result.children[1].name.should.equal('folder2');
}

const include1 = (process.platform === 'win32') ? '*' : '**/*';
const include1 = process.platform === 'win32' ? '*' : '**/*';

await verify({
folders: {
exclude: [path.join('**','folder')],
exclude: [path.join('**', 'folder')],
include: [include1],
matchBasename: false,
matchPath: true,
4 changes: 2 additions & 2 deletions test/symbolic-links.js
Original file line number Diff line number Diff line change
@@ -269,8 +269,8 @@ function toHash(strings) {

function resolvePath(string) {
if (process.platform === 'win32') {
return path.posix.resolve(string)
return path.posix.resolve(string);
} else {
return path.resolve(string)
return path.resolve(string);
}
}

0 comments on commit 484f105

Please sign in to comment.