Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit 5a958af

Browse files
mtarngbnookala
authored andcommitted
Minor bugfix for docker image names. Should follow up with a greater refactoring of this method
1 parent 86306ee commit 5a958af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/fileutils.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export const starterAzurePipelines = async (opts: {
127127
// and does not need a a project name
128128
const projectName =
129129
projectPathParts.length > 1
130-
? "-" + projectPathParts.slice(-1)[0]
130+
? projectPathParts.slice(-1)[0]
131131
: "";
132132

133133
return {
@@ -176,14 +176,14 @@ export const starterAzurePipelines = async (opts: {
176176
// folder containing the Dockerfile. Otherwise, its a standard service
177177
// and does not need a a project name
178178

179-
logger.info(`projectPathParts: ${projectPathParts}`);
179+
logger.debug(`projectPathParts: ${projectPathParts}`);
180180
const projectName =
181181
projectPathParts.length > 1
182182
? projectPathParts.slice(-1)[0]
183183
: "";
184184

185-
logger.info(`projectName: ${projectName}`);
186-
logger.info(`projectPath: ${projectPath}`);
185+
logger.debug(`projectName: ${projectName}`);
186+
logger.debug(`projectPath: ${projectPath}`);
187187
return {
188188
script: generateYamlScript([
189189
`export PROJECT_NAME_LOWER=$(echo ${projectName} | tr '[:upper:]' '[:lower:]')`,

0 commit comments

Comments
 (0)