Skip to content

Commit da95051

Browse files
Set archive flag on write
1 parent bc516bf commit da95051

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/io/frictionlessdata/datapackage/Package.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ public void writeFullyInlined (File outputDir, boolean zipCompressed) throws Exc
493493
* @throws Exception thrown if something goes wrong writing
494494
*/
495495
public void write (File outputDir, boolean zipCompressed) throws Exception {
496+
this.isArchivePackage = zipCompressed;
496497
FileSystem outFs = getTargetFileSystem(outputDir, zipCompressed);
497498
String parentDirName = "";
498499
if (!zipCompressed) {

0 commit comments

Comments
 (0)