Skip to content

Commit

Permalink
fix: OAuthのときはJSダウンロードができないのでSKIP
Browse files Browse the repository at this point in the history
  • Loading branch information
the-red committed Mar 21, 2023
1 parent 70b3331 commit e3cdfb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pull.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ export const ginuePull = async (ktn: Ktn, opts: Opts) => {
saveKintoneInfo(altFilePath, kintoneInfoAlt)
}
if (ktn.command === 'app/customize.json' && opts.downloadJs) {
if (ktn.accessToken) {
console.info(`[SKIP] Download JS File (Forbidden via OAuth)`)
return
}
await downloadCustomizeFiles(kintoneInfo!, ktn, opts)
}
}

0 comments on commit e3cdfb2

Please sign in to comment.