@@ -14,16 +14,16 @@ export default class SFPOrg extends Org {
14
14
public async getInstalledArtifacts ( orderBy : string = `CreatedDate` , logger ?:Logger ) {
15
15
let records = [ ]
16
16
try {
17
- records = await QueryHelper . query < sfpArtifact2__c > (
18
- `SELECT Id, Name, CommitId__c, Version__c, Tag__c FROM sfpArtifact2__c ORDER BY ${ orderBy } ASC` ,
17
+ records = await QueryHelper . query < SfpowerscriptsArtifact2__c > (
18
+ `SELECT Id, Name, CommitId__c, Version__c, Tag__c FROM SfpowerscriptsArtifact2__c ORDER BY ${ orderBy } ASC` ,
19
19
this . getConnection ( ) ,
20
20
false
21
21
) ;
22
22
return records ;
23
23
} catch ( error ) {
24
24
SFPLogger . log (
25
25
'Unable to fetch any sfp artifacts in the org\n' +
26
- '1. sfp package is not installed in the org\n' +
26
+ '1. sfpowerscripts artifact package is not installed in the org\n' +
27
27
'2. The required prerequisite object is not deployed to this org\n' ,
28
28
LoggerLevel . WARN ,
29
29
logger
@@ -91,7 +91,7 @@ export default class SFPOrg extends Org {
91
91
if ( artifactId == null ) {
92
92
artifactId = await ObjectCRUDHelper . createRecord (
93
93
this . getConnection ( ) ,
94
- 'sfpArtifact2__c ' ,
94
+ 'SfpowerscriptsArtifact2__c ' ,
95
95
{
96
96
Name : packageName ,
97
97
Tag__c : sfpPackage . tag ,
@@ -102,7 +102,7 @@ export default class SFPOrg extends Org {
102
102
} else {
103
103
artifactId = await ObjectCRUDHelper . updateRecord (
104
104
this . getConnection ( ) ,
105
- 'sfpArtifact2__c ' ,
105
+ 'SfpowerscriptsArtifact2__c ' ,
106
106
{
107
107
Id : artifactId ,
108
108
Name : packageName ,
@@ -253,7 +253,7 @@ export interface InstalledArtifact {
253
253
isInstalledBysfp ?: boolean ;
254
254
}
255
255
256
- export interface sfpArtifact2__c {
256
+ export interface SfpowerscriptsArtifact2__c {
257
257
Id ?: string ;
258
258
Name : string ;
259
259
Tag__c : string ;
0 commit comments