Commit 1c12a15
Bugfixed that mode of file changes when zip is created (motdotla#335)
* Add archiver.js
* Fix to use `archiver` instead of `node-zip`
We want to keep file mode.
* Add test of file mode
* Fix to test mode in non-Windows
* Modify the file used for testing
* Modify the file used for testing
* Modify archive.files's key
archive.files's key is a slash delimiter regardless of platform.
* Modify archive.files's name
archive.files's name is a slash delimiter regardless of platform.
* Modify path delimiter
archive.files's name is a slash delimiter regardless of platform.
* Modify to Arrow function and modify of variable declaration
* Fix to get mode from file1 parent e640633 commit 1c12a15
5 files changed
Lines changed: 259 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
373 | 374 | | |
374 | 375 | | |
375 | 376 | | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
382 | 384 | | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
383 | 391 | | |
384 | 392 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
389 | 400 | | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
390 | 409 | | |
391 | 410 | | |
392 | | - | |
| 411 | + | |
393 | 412 | | |
394 | 413 | | |
395 | 414 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
| 525 | + | |
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
529 | 532 | | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
534 | 546 | | |
535 | 547 | | |
536 | 548 | | |
537 | 549 | | |
538 | 550 | | |
| 551 | + | |
539 | 552 | | |
540 | 553 | | |
541 | 554 | | |
| |||
546 | 559 | | |
547 | 560 | | |
548 | 561 | | |
549 | | - | |
| 562 | + | |
550 | 563 | | |
551 | 564 | | |
552 | 565 | | |
553 | 566 | | |
554 | 567 | | |
555 | 568 | | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
| 569 | + | |
| 570 | + | |
560 | 571 | | |
561 | 572 | | |
562 | 573 | | |
| |||
566 | 577 | | |
567 | 578 | | |
568 | 579 | | |
569 | | - | |
| 580 | + | |
570 | 581 | | |
571 | | - | |
572 | | - | |
| 582 | + | |
| 583 | + | |
573 | 584 | | |
574 | 585 | | |
575 | 586 | | |
576 | 587 | | |
577 | | - | |
578 | | - | |
579 | | - | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
580 | 591 | | |
581 | 592 | | |
582 | 593 | | |
| |||
640 | 651 | | |
641 | 652 | | |
642 | 653 | | |
643 | | - | |
| 654 | + | |
644 | 655 | | |
645 | 656 | | |
646 | 657 | | |
| |||
0 commit comments