Skip to content

Commit

Permalink
Lint対応
Browse files Browse the repository at this point in the history
  • Loading branch information
ienaga committed Nov 3, 2023
1 parent 3b31b2d commit b5a3203
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const buildConfig = (object: ObjectImpl): void =>
const stagePath: string = `${configDir}/stage.json`;
if (existsSync(stagePath)) {
Object.assign(
config.stage,
config.stage,
JSON.parse(readFileSync(stagePath, { "encoding": "utf8" }))
);
}
Expand All @@ -55,7 +55,7 @@ const buildConfig = (object: ObjectImpl): void =>
const routingPath: string = `${configDir}/routing.json`;
if (existsSync(routingPath)) {
Object.assign(
config.routing,
config.routing,
JSON.parse(readFileSync(routingPath, { "encoding": "utf8" }))
);
}
Expand Down
4 changes: 2 additions & 2 deletions src/interface/ConfigObjectImpl.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export interface ConfigObjectImpl {
"platform": string,
"stage" : object,
"routing": object
"stage" : any,
"routing": any
}

0 comments on commit b5a3203

Please sign in to comment.