@@ -7,13 +7,13 @@ import { fileURLToPath } from "node:url";
77import zlib from "node:zlib" ;
88import Ajv from "#core/ajv" ;
99import Git from "#core/api/git" ;
10+ import Gpg from "#core/api/gpg" ;
1011import { readConfigSync } from "#core/config" ;
1112import ejs from "#core/ejs" ;
1213import env from "#core/env" ;
1314import File from "#core/file" ;
1415import { exists } from "#core/fs" ;
1516import { glob , globSync } from "#core/glob" ;
16- import Gpg from "#core/gpg" ;
1717import SemanticVersion from "#core/semantic-version" ;
1818import tar from "#core/tar" ;
1919import * as yaml from "#core/yaml" ;
@@ -305,29 +305,29 @@ export default class DebianRepository {
305305 } ) ;
306306
307307 // create "Release.gpg"
308- res = await gpg . detachSign ( new File (
309- {
308+ res = await gpg . detachSign (
309+ new File ( {
310310 "path" : this . root + `/dists/${ codename } /Release` ,
311- } ,
311+ } ) ,
312312 [ this . config . gpgKeyName ] ,
313313 {
314314 "armor" : true ,
315315 "output" : this . root + `/dists/${ codename } /Release.gpg` ,
316316 }
317- ) ) ;
317+ ) ;
318318 if ( ! res . ok ) return res ;
319319
320320 // create "InRelease"
321- res = await gpg . clearSign ( new File (
322- {
321+ res = await gpg . clearSign (
322+ new File ( {
323323 "path" : this . root + `/dists/${ codename } /Release` ,
324- } ,
324+ } ) ,
325325 [ this . config . gpgKeyName ] ,
326326 {
327327 "armor" : true ,
328328 "output" : this . root + `/dists/${ codename } /InRelease` ,
329329 }
330- ) ) ;
330+ ) ;
331331 if ( ! res . ok ) return res ;
332332 }
333333
0 commit comments