()
| 25 | } |
| 26 | |
| 27 | const commitI18nTokensChanges = async () => { |
| 28 | const gitStatus = await getGitStatus(); |
| 29 | |
| 30 | if ( |
| 31 | isFileModified(gitStatus, 'packages/eui/i18ntokens.json') || |
| 32 | isFileModified(gitStatus, 'packages/eui/i18ntokens_changelog.json') |
| 33 | ) { |
| 34 | await execPromise('git add ./i18ntokens.json ./i18ntokens_changelog.json'); |
| 35 | await execPromise('git commit -m "chore(eui): update i18ntokens" --no-verify ./i18ntokens.json ./i18ntokens_changelog.json'); |
| 36 | console.log('Detected and committed i18ntokens changes'); |
| 37 | } else { |
| 38 | console.log('No i18ntokens changes detected'); |
| 39 | } |
| 40 | }; |
| 41 | |
| 42 | const main = async () => { |
| 43 | try { |
no test coverage detected
searching dependent graphs…