Skip to content

Commit

Permalink
Rectify Test
Browse files Browse the repository at this point in the history
  • Loading branch information
naman-crabnebula committed Jan 22, 2024
1 parent 0950e73 commit 36c2eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bindings/packager/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@types/fs-extra": "^11.0.3",
"@types/node": "^20.8.10",
"ava": "^6.0.0",
"json-schema-to-typescript": "^13.1.2",
"json-schema-to-typescript": "^13.1.1",
"typescript": "^5.2.2"
},
"ava": {
Expand Down
5 changes: 1 addition & 4 deletions crates/packager/src/package/pacman/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,7 @@ fn generate_pkgbuild_file(
let sha_hash = sha512.finalize();

writeln!(file, "sha512sums=(\"{:x}\")", sha_hash)?;
writeln!(
file,
"package() {{\n\tcp -r ${{srcdir}}/* ${{pkgdir}}/\n}}"
)?;
writeln!(file, "package() {{\n\tcp -r ${{srcdir}}/* ${{pkgdir}}/\n}}")?;

file.flush()?;
Ok(())
Expand Down

0 comments on commit 36c2eb4

Please sign in to comment.