Skip to content

Commit 22a34ee

Browse files
committed
now uses Solidarity Stacks repo
1 parent ee65d6d commit 22a34ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/extensions/functions/getSolidaritySettings.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ export const loadWebCheck = async (context, checkOption) => {
3636
})
3737

3838
// Load check from web
39-
const checkURL = isURI(checkOption) ? checkOption : `https:\/\/raw.githubusercontent.com/infinitered/solidarity/master/checks/${checkOption}.json`
39+
const checkURL = isURI(checkOption) ? checkOption : `https:\/\/raw.githubusercontent.com/infinitered/solidarity-stacks/master/stacks/${checkOption}.solidarity`
4040
const result = await api.get(checkURL)
4141
// console.log(result)
4242
if (result.ok) {
43-
checkSpinner.succeed(`Found ${checkOption}`)
43+
checkSpinner.succeed(`Found Stack: ${checkOption}`)
4444
// Convert strings to JSON5 objects
4545
const solidarityData = (typeof result.data === 'string')
4646
? JSON5.parse(result.data)
@@ -49,7 +49,7 @@ export const loadWebCheck = async (context, checkOption) => {
4949
} else {
5050
checkSpinner.fail(`Unable to find a known check stack for ${checkOption}`)
5151
print.info(
52-
`Check https://github.com/infinitered/solidarity/checks for options.`
52+
`Check https://github.com/infinitered/solidarity-stacks for options.`
5353
)
5454
throw(`ERROR: Request failed (${result.status} - ${result.problem})`)
5555
}

0 commit comments

Comments
 (0)