Skip to content

Commit 3d2312f

Browse files
committed
build: fix paths
1 parent 69c667e commit 3d2312f

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

PSSourcegraph/PSSourcegraph.psd1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,16 @@
6161

6262
# Type files (.ps1xml) to be loaded when importing this module
6363
TypesToProcess = @(
64-
'src/Types/Search.Types.ps1xml'
65-
'src/Types/Location.Types.ps1xml'
66-
'src/Types/Repository.Types.ps1xml'
64+
'Types/Search.Types.ps1xml'
65+
'Types/Location.Types.ps1xml'
66+
'Types/Repository.Types.ps1xml'
6767
)
6868

6969
# Format files (.ps1xml) to be loaded when importing this module
7070
FormatsToProcess = @(
71-
'src/Formats/Search.Format.ps1xml'
72-
'src/Formats/Hover.Format.ps1xml'
73-
'src/Formats/Location.Format.ps1xml'
71+
'Formats/Search.Format.ps1xml'
72+
'Formats/Hover.Format.ps1xml'
73+
'Formats/Location.Format.ps1xml'
7474
)
7575

7676
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess

PSSourcegraph/src/codeintel.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Import-Module -Scope Local "$PSScriptRoot/api.psm1"
22

3-
$HoverQuery = Get-Content -Raw "$PSScriptRoot/queries/Hover.graphql"
4-
$DefinitionQuery = Get-Content -Raw "$PSScriptRoot/queries/Definition.graphql"
5-
$ReferenceQuery = Get-Content -Raw "$PSScriptRoot/queries/Reference.graphql"
3+
$HoverQuery = Get-Content -Raw "$PSScriptRoot/../queries/Hover.graphql"
4+
$DefinitionQuery = Get-Content -Raw "$PSScriptRoot/../queries/Definition.graphql"
5+
$ReferenceQuery = Get-Content -Raw "$PSScriptRoot/../queries/Reference.graphql"
66

77
function Get-Hover {
88
<#

PSSourcegraph/src/repos.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Import-Module -Scope Local "$PSScriptRoot/api.psm1"
22

3-
$repositoryFields = Get-Content -Raw "$PSScriptRoot/queries/RepositoryFields.graphql"
4-
$repositoryQuery = (Get-Content -Raw "$PSScriptRoot/queries/Repository.graphql") + $repositoryFields
5-
$repositoriesQuery = (Get-Content -Raw "$PSScriptRoot/queries/Repositories.graphql") + $repositoryFields
3+
$repositoryFields = Get-Content -Raw "$PSScriptRoot/../queries/RepositoryFields.graphql"
4+
$repositoryQuery = (Get-Content -Raw "$PSScriptRoot/../queries/Repository.graphql") + $repositoryFields
5+
$repositoriesQuery = (Get-Content -Raw "$PSScriptRoot/../queries/Repositories.graphql") + $repositoryFields
66
function Get-Repository {
77
<#
88
.SYNOPSIS

PSSourcegraph/src/search.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Import-Module -Scope Local "$PSScriptRoot/api.psm1"
22

3-
$RepositoryFields = Get-Content -Raw "$PSScriptRoot/queries/RepositoryFields.graphql"
4-
$SearchQuery = (Get-Content -Raw "$PSScriptRoot/queries/Search.graphql") + $RepositoryFields
5-
$SuggestionsQuery = (Get-Content -Raw "$PSScriptRoot/queries/Suggestions.graphql")
3+
$RepositoryFields = Get-Content -Raw "$PSScriptRoot/../queries/RepositoryFields.graphql"
4+
$SearchQuery = (Get-Content -Raw "$PSScriptRoot/../queries/Search.graphql") + $RepositoryFields
5+
$SuggestionsQuery = (Get-Content -Raw "$PSScriptRoot/../queries/Suggestions.graphql")
66

77
# Note: The default name of this function is Search-Sourcegraph,
88
# the prefix/suffix is added automatically as configured in PSSourcegraph.psd1

PSSourcegraph/src/users.psm1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Import-Module -Scope Local "$PSScriptRoot/api.psm1"
22

3-
$CreateUserQuery = Get-Content -Raw "$PSScriptRoot/queries/CreateUser.graphql"
3+
$CreateUserQuery = Get-Content -Raw "$PSScriptRoot/../queries/CreateUser.graphql"
44
function New-User {
55
<#
66
.SYNOPSIS
@@ -37,9 +37,9 @@ function New-User {
3737
}
3838
Export-ModuleMember -Function New-User
3939

40-
$UserFields = Get-Content -Raw "$PSScriptRoot/queries/UserFields.graphql"
41-
$UserQuery = (Get-Content -Raw "$PSScriptRoot/queries/User.graphql") + $UserFields
42-
$UsersQuery = (Get-Content -Raw "$PSScriptRoot/queries/Users.graphql") + $UserFields
40+
$UserFields = Get-Content -Raw "$PSScriptRoot/../queries/UserFields.graphql"
41+
$UserQuery = (Get-Content -Raw "$PSScriptRoot/../queries/User.graphql") + $UserFields
42+
$UsersQuery = (Get-Content -Raw "$PSScriptRoot/../queries/Users.graphql") + $UserFields
4343
function Get-User {
4444
<#
4545
.SYNOPSIS

0 commit comments

Comments
 (0)