Skip to content

Commit

Permalink
Merge pull request #216 from elsoul/log
Browse files Browse the repository at this point in the history
log
  • Loading branch information
POPPIN-FUMI authored Dec 27, 2023
2 parents 85b1fdf + 9abf786 commit 7eb1783
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
5 changes: 2 additions & 3 deletions dist/index.js

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions src/cli/log/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ export const logCommands = async () => {
.option('-aa, --AA', 'Show AA logs', false)
.description('Deploy Skeet APP to Firebase')
.action(async (options) => {
const { app } = importConfig()
if (options.function) {
if (options.AA) {
Logger.skeetAA()
Logger.welcomText('', 'install')
} else if (options.function) {
const { app } = importConfig()
const functionName = options.function
fuctionsLog(app.projectId, functionName)
return
} else if (options.AA) {
Logger.skeetAA()
Logger.welcomText('', 'install')
} else {
const { app } = importConfig()
fuctionsLog(app.projectId)
}
})
Expand Down

0 comments on commit 7eb1783

Please sign in to comment.