Skip to content

Commit 1095209

Browse files
Minor
1 parent 673e1bc commit 1095209

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

pkg/project.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ func (p Project) ScaffoldGettingStarted() string {
214214
libDir := p.aem.BaseOpts().LibDir
215215

216216
text := fmt.Sprintf(strings.Join([]string{
217-
"As a next step provide AEM files (JAR or sdk ZIP, license, service packs) to directory '" + libDir + "'.",
217+
"As a next step provide AEM files (JAR or SDK ZIP, license, service packs) to directory '" + libDir + "'.",
218218
"Alternatively, instruct the tool where these files are located by adjusting properties: 'dist_file', 'license_file' in configuration file '" + cfg.FileDefault + "'.",
219219
"",
220220
"Use tasks to manage AEM instances and more:",
@@ -232,7 +232,7 @@ func (p Project) ScaffoldGettingStarted() string {
232232
func (p Project) InitGettingStartedError() string {
233233
libDir := p.aem.BaseOpts().LibDir
234234
text := fmt.Sprintf(strings.Join([]string{
235-
"Be sure to provide AEM files (JAR or sdk ZIP, license, service packs) to directory '" + libDir + "'.",
235+
"Be sure to provide AEM files (JAR or SDK ZIP, license, service packs) to directory '" + libDir + "'.",
236236
}, "\n"))
237237
return text
238238
}

pkg/sdk.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ func (s SDK) prepare(zipFile string) error {
8080
}
8181

8282
func (s SDK) unpackSdk(zipFile string) error {
83-
log.Infof("unpacking sdk ZIP '%s' to dir '%s'", zipFile, s.Dir())
83+
log.Infof("unpacking SDK ZIP '%s' to dir '%s'", zipFile, s.Dir())
8484
err := filex.Unarchive(zipFile, s.Dir())
8585
if err != nil {
86-
return fmt.Errorf("cannot unpack sdk ZIP '%s' to dir '%s': %w", zipFile, s.Dir(), err)
86+
return fmt.Errorf("cannot unpack SDK ZIP '%s' to dir '%s': %w", zipFile, s.Dir(), err)
8787
}
88-
log.Infof("unpacked sdk ZIP '%s' to dir '%s'", zipFile, s.Dir())
88+
log.Infof("unpacked SDK ZIP '%s' to dir '%s'", zipFile, s.Dir())
8989
return nil
9090
}
9191

@@ -123,9 +123,9 @@ func (s SDK) unpackDispatcher() error {
123123
if err != nil {
124124
return err
125125
}
126-
log.Infof("unpacking sdk dispatcher tools ZIP '%s' to dir '%s'", zip, s.DispatcherDir())
126+
log.Infof("unpacking SDK dispatcher tools ZIP '%s' to dir '%s'", zip, s.DispatcherDir())
127127
err = filex.Unarchive(zip, s.DispatcherDir())
128-
log.Infof("unpacked sdk dispatcher tools ZIP '%s' to dir '%s'", zip, s.DispatcherDir())
128+
log.Infof("unpacked SDK dispatcher tools ZIP '%s' to dir '%s'", zip, s.DispatcherDir())
129129
if err != nil {
130130
return err
131131
}
@@ -134,13 +134,13 @@ func (s SDK) unpackDispatcher() error {
134134
if err != nil {
135135
return err
136136
}
137-
log.Infof("unpacking sdk dispatcher tools using script '%s' to dir '%s'", script, s.DispatcherDir())
137+
log.Infof("unpacking SDK dispatcher tools using script '%s' to dir '%s'", script, s.DispatcherDir())
138138
cmd := execx.CommandShell([]string{script, "--target", s.DispatcherDir()})
139139
s.vendorManager.aem.CommandOutput(cmd)
140140
if err := cmd.Run(); err != nil {
141-
return fmt.Errorf("cannot run sdk dispatcher tools unpacking script '%s': %w", script, err)
141+
return fmt.Errorf("cannot run SDK dispatcher tools unpacking script '%s': %w", script, err)
142142
}
143-
log.Infof("unpacked sdk dispatcher tools using script '%s' to dir '%s'", script, s.DispatcherDir())
143+
log.Infof("unpacked SDK dispatcher tools using script '%s' to dir '%s'", script, s.DispatcherDir())
144144
}
145145
return nil
146146
}

0 commit comments

Comments
 (0)