Skip to content

Commit

Permalink
Remove obscure defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 committed Dec 6, 2022
1 parent 49dd4a4 commit 4cafc1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cml.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ class CML {
const driver = this.getDriver();
const {
remote = GIT_REMOTE,
globs = ['dvc.lock', '.gitignore'],
globs,
md,
skipCi,
branch,
Expand All @@ -543,7 +543,7 @@ class CML {
};

const { files } = await git.status();
if (!files.length && globs.length) {
if (!files.length && globs) {
winston.warn('No files changed. Nothing to do.');
return;
}
Expand Down

2 comments on commit 4cafc1d

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

Please sign in to comment.