Skip to content

Commit

Permalink
ci(test): Use scoop prefix scoop (ScoopInstaller#3130)
Browse files Browse the repository at this point in the history
  • Loading branch information
niheaven authored Dec 28, 2021
1 parent 6a663cd commit e869175
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
// Configure PSScriptAnalyzer settings
{
"[powershell]": {
"editor.formatOnSave": true
},
"powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1",
"powershell.codeFormatting.preset": "OTBS",
"powershell.codeFormatting.alignPropertyValuePairs": true,
"powershell.codeFormatting.ignoreOneLineBlock": true,
"json.schemas": [
{
"url": "https://raw.githubusercontent.com/lukesampson/scoop/master/schema.json",
"url": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json",
"fileMatch": [
"bucket/*.json"
]
}
],
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/tmp": true
}
}
2 changes: 1 addition & 1 deletion Scoop-Bucket.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Resolve-Path (scoop prefix scoop) }
. "$env:SCOOP_HOME\test\Import-Bucket-Tests.ps1"

0 comments on commit e869175

Please sign in to comment.