diff --git a/src/pull.ts b/src/pull.ts index 05a106b..144f9ad 100644 --- a/src/pull.ts +++ b/src/pull.ts @@ -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) } }