Skip to content

Commit

Permalink
fix: Fixed a bug in uploading.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed Feb 14, 2024
1 parent db79658 commit db28040
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/katana_cli/lib/action/purchase/purchase.dart
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ class PurchaseCliAction extends CliCommand with CliActionMixin {
env["PURCHASE_ANDROID_SERVICEACCOUNT_EMAIL"] =
androidServiceAccountEmail;
env["PURCHASE_ANDROID_SERVICEACCOUNT_PRIVATE_KEY"] =
androidServiceAccountPrivateKey;
androidServiceAccountPrivateKey.replaceAll("\n", "\\n");
}
if (enableAppStore) {
env["PURCHASE_IOS_SHAREDSECRET"] = appStoreSharedSecret;
Expand Down
6 changes: 5 additions & 1 deletion packages/katana_cli/lib/command/code/server/call.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class CodeServerCallCliCommand extends CliCodeCommand {
return """
/* eslint indent: off */
/* eslint max-len: off */
/* eslint @typescript-eslint/no-explicit-any: off */
import * as m from "@mathrunet/masamune";
""";
Expand Down Expand Up @@ -99,7 +100,10 @@ export class ${className.toPascalCase()}Call extends m.CallProcessFunctionBase {
*
* 処理の結果を返します。
*/
async process(query: any, options: Record<string, any>): Promise<{[key: string]: any}> {
async process(
query: any,
options: Record<string, any>
): Promise<{[key: string]: any}> {
// TODO: Implement the process to be executed.
return {};
}
Expand Down
6 changes: 5 additions & 1 deletion packages/katana_cli/lib/command/code/server/request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class CodeServerRequestCliCommand extends CliCodeCommand {
return """
/* eslint indent: off */
/* eslint max-len: off */
/* eslint @typescript-eslint/no-explicit-any: off */
import * as m from "@mathrunet/masamune";
import * as functions from "firebase-functions/v2";
import * as express from "express";
Expand Down Expand Up @@ -90,7 +91,10 @@ export class ${className.toPascalCase()}Request extends m.RequestProcessFunction
*
* Functionsに渡されたResponse。
*/
async process(reqest: functions.https.Request, response: express.Response<any>): Promise<void> {
async process(
reqest: functions.https.Request,
response: express.Response<any>
): Promise<void> {
// TODO: Implement the process to be executed.
}
}
Expand Down
1 change: 1 addition & 0 deletions packages/katana_cli/lib/command/code/server/schedule.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class CodeServerScheduleCliCommand extends CliCodeCommand {
return """
/* eslint indent: off */
/* eslint max-len: off */
/* eslint @typescript-eslint/no-explicit-any: off */
import * as m from "@mathrunet/masamune";
""";
Expand Down

0 comments on commit db28040

Please sign in to comment.