Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit93a0898

Browse files
committed
rolling back nested exclude path
1 parent1d31526 commit93a0898

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

‎dist/index.js‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3316,7 +3316,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33163316
return(mod&&mod.__esModule) ?mod :{"default":mod};
33173317
};
33183318
Object.defineProperty(exports,"__esModule",({value:true}));
3319-
exports.applyExcludeFilter=exports.applyFolderFiltersToSubItems=exports.getDefaultSettings=exports.Timer=exports.Timings=exports.retryRequest=exports.formatNumber=exports.pluralize=exports.Logger=void0;
3319+
exports.applyExcludeFilter=exports.getDefaultSettings=exports.Timer=exports.Timings=exports.retryRequest=exports.formatNumber=exports.pluralize=exports.Logger=void0;
33203320
constpretty_ms_1=__importDefault(__nccwpck_require__(1127));
33213321
constmodule_1=__nccwpck_require__(8347);
33223322
consttypes_1=__nccwpck_require__(6703);
@@ -3463,21 +3463,12 @@ function getDefaultSettings(withoutDefaults) {
34633463
"state-name":(_e=withoutDefaults["state-name"])!==null&&_e!==void0 ?_e :".ftp-deploy-sync-state.json",
34643464
"dry-run":(_f=withoutDefaults["dry-run"])!==null&&_f!==void0 ?_f :false,
34653465
"dangerous-clean-slate":(_g=withoutDefaults["dangerous-clean-slate"])!==null&&_g!==void0 ?_g :false,
3466-
"exclude":applyFolderFiltersToSubItems((_h=withoutDefaults.exclude)!==null&&_h!==void0 ?_h :module_1.excludeDefaults),
3466+
"exclude":(_h=withoutDefaults.exclude)!==null&&_h!==void0 ?_h :module_1.excludeDefaults,
34673467
"log-level":(_j=withoutDefaults["log-level"])!==null&&_j!==void0 ?_j :"standard",
34683468
"security":(_k=withoutDefaults.security)!==null&&_k!==void0 ?_k :"loose",
34693469
};
34703470
}
34713471
exports.getDefaultSettings=getDefaultSettings;
3472-
/**
3473-
* automatically exclude all sub-files/sub-folders if we exclude a folder.
3474-
* For example "test/" should also exclude "test/file.txt"
3475-
* to do this we add "**" to all folder paths
3476-
*/
3477-
functionapplyFolderFiltersToSubItems(excludeFilters){
3478-
returnexcludeFilters.map(filter=>filter.endsWith("/") ?`${filter}**` :filter);
3479-
}
3480-
exports.applyFolderFiltersToSubItems=applyFolderFiltersToSubItems;
34813472
functionapplyExcludeFilter(stat,excludeFilters){
34823473
// match exclude, return immediatley
34833474
if(excludeFilters.length>0){

‎package-lock.json‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"license":"MIT",
2424
"dependencies": {
2525
"@actions/core":"^1.6.0",
26-
"@samkirkland/ftp-deploy":"^1.2.0",
26+
"@samkirkland/ftp-deploy":"^1.2.1",
2727
"@types/jest":"^27.0.2",
2828
"jest":"^27.2.5",
2929
"ts-jest":"^27.0.5",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp