Skip to content

Commit

Permalink
nots builder: replace tarfile with libarchive
Browse files Browse the repository at this point in the history
- Use libarchive for packing and unpacking output.tar and node_modules.tar
- Fix the issue with duplication of output dirs in the packing list
commit_hash:db3130b958c4adaaba7ff3a0301e7899aaff3907
  • Loading branch information
vturov authored and pull[bot] committed Oct 29, 2024
1 parent d7f6093 commit 2381330
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/plugins/lib/nots/typescript/ts_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def filter_files(self, all_files):
return ts_glob(ts_glob_config, all_files)

def get_out_dirs(self):
# type: () -> list[str]
# type: () -> set[str]
output_dirs = [self.compiler_option("outDir"), self.compiler_option("declarationDir")]

return [d for d in output_dirs if d is not None]
return {d for d in output_dirs if d is not None}

0 comments on commit 2381330

Please sign in to comment.