linter-bundle 4.0.2 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -1
- package/lint.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
-
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v4.0.
|
|
9
|
+
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v4.0.3...HEAD)
|
|
10
|
+
|
|
11
|
+
## [4.0.3] - 2023-08-31
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- [files] Don't show "No relevant files changed." if the `--git`` option was not used
|
|
16
|
+
|
|
17
|
+
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v4.0.2...v4.0.3)
|
|
10
18
|
|
|
11
19
|
## [4.0.2] - 2023-08-31
|
|
12
20
|
|
package/lint.js
CHANGED
|
@@ -126,7 +126,7 @@ async function runFilesTask (taskName, taskConfig) {
|
|
|
126
126
|
|
|
127
127
|
const includes = await getIncludes(newTaskConfig);
|
|
128
128
|
|
|
129
|
-
if (!includes) {
|
|
129
|
+
if (!includes && taskConfig['git']?.[0]) {
|
|
130
130
|
return generateDummyJobOutput(taskName, newTaskConfig, {
|
|
131
131
|
stderr: 'No relevant files changed.'
|
|
132
132
|
});
|