Skip to content

Commit

Permalink
Update build-tokens.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray committed Nov 5, 2024
1 parent 8774f7e commit 5af0021
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-tokens.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
'theme.scss',
'components.scss',
]
const outputFileNames = readdirSync('dist').flatMap(dirOrFile => {
const outputFileNames = fs.readdirSync('dist').flatMap(dirOrFile => {
try {
return readdirSync(`dist/${dirOrFile}`).map(file => `${dirOrFile}/${file}`);
return fs.readdirSync(`dist/${dirOrFile}`).map(file => `${dirOrFile}/${file}`);
} catch (_e) {
return dirOrFile;
}
Expand Down

0 comments on commit 5af0021

Please sign in to comment.