change-image-suffix 2.1.7 → 2.1.8
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 +7 -0
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.1.8](https://github.com/GuoSirius/change-image-suffix/compare/v2.1.7...v2.1.8) (2026-05-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* remove nested quotes from bat set commands to handle paths with spaces ([becd55f](https://github.com/GuoSirius/change-image-suffix/commit/becd55f3dbf669b295b7e8f5b006e9939da910ac))
|
|
11
|
+
|
|
5
12
|
### [2.1.7](https://github.com/GuoSirius/change-image-suffix/compare/v2.1.6...v2.1.7) (2026-05-25)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.js
CHANGED
|
@@ -89,13 +89,13 @@ if "%~1"=="" (
|
|
|
89
89
|
set "format=%~1"
|
|
90
90
|
shift
|
|
91
91
|
|
|
92
|
-
set
|
|
92
|
+
set args=
|
|
93
93
|
:parse
|
|
94
94
|
if "%~1"=="" goto :run
|
|
95
95
|
if exist "%~1\\*" (
|
|
96
|
-
set
|
|
96
|
+
set args=!args! -p "%~1"
|
|
97
97
|
) else (
|
|
98
|
-
set
|
|
98
|
+
set args=!args! -f "%~1"
|
|
99
99
|
)
|
|
100
100
|
shift
|
|
101
101
|
goto :parse
|
|
@@ -108,7 +108,7 @@ if "!args!"=="" (
|
|
|
108
108
|
)
|
|
109
109
|
|
|
110
110
|
"!CIS_CMD!" -t !format! !args!
|
|
111
|
-
|
|
111
|
+
pause
|
|
112
112
|
endlocal
|
|
113
113
|
`;
|
|
114
114
|
fs.writeFileSync(batPath, batContent, 'utf8');
|