Skip to content

Commit 55a5683

Browse files
committed
Fix deploy preview JSON
1 parent 2edee13 commit 55a5683

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.scripts/build.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ async function run() {
1818
core.setOutput('locale-list', locales)
1919
} else {
2020
console.log('Running a deploy preview...')
21-
const locales = JSON.parse(['en'])
22-
core.setOutput('locale-list', locales)
21+
core.setOutput('locale-list', ['en'])
2322
}
2423
} catch (error) {
2524
core.setFailed(`An issue ocurred while retrieving the languages: ${error}`)

0 commit comments

Comments
 (0)