Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Dec 11, 2023
1 parent a5449eb commit 41a6d0c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions lib/src/integrations/one_password/plugin/one_password_plugin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ class OnePasswordPlugin extends ImpaktfullCliPlugin {
required String outputPath,
}) async {
final exportFile = File(outputPath);
await processRunner.runProcess(['op', 'document', 'get', '"$opUuid"', '--out-file', '"${exportFile.path}"']);
await processRunner.runProcess([
'op',
'document',
'get',
'"$opUuid"',
'--out-file',
'"${exportFile.path}"'
]);
return exportFile;
}

Expand All @@ -30,7 +37,8 @@ class OnePasswordPlugin extends ImpaktfullCliPlugin {
required String vaultName,
required String fieldName,
}) async {
final result = await getOnePasswordField(vaultName: vaultName, opUuid: opUuid, fieldName: fieldName);
final result = await getOnePasswordField(
vaultName: vaultName, opUuid: opUuid, fieldName: fieldName);
return Secret(result);
}

Expand All @@ -39,7 +47,8 @@ class OnePasswordPlugin extends ImpaktfullCliPlugin {
required String opUuid,
required String fieldName,
}) =>
processRunner.runProcess(['op', 'read', 'op://$vaultName/$opUuid/$fieldName']);
processRunner
.runProcess(['op', 'read', 'op://$vaultName/$opUuid/$fieldName']);

Future<File> downloadDistributionCertificate({
required String opUuid,
Expand Down

0 comments on commit 41a6d0c

Please sign in to comment.