Skip to content

Commit 96835f3

Browse files
authored
Remove unnecessary log (#925)
* Remove unnecessary log A shown in devcontainers/spec#513, this log message is not relevant and masking the true error printed just before. * remove unused import
1 parent 1fdc026 commit 96835f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/spec-node/templatesCLI/publish.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { publishOptions } from '../collectionCommonUtils/publish';
1010
import { getCLIHost } from '../../spec-common/cliHost';
1111
import { loadNativeModule } from '../../spec-common/commonUtils';
1212
import { PackageCommandInput } from '../collectionCommonUtils/package';
13-
import { getArchiveName, OCICollectionFileName } from '../collectionCommonUtils/packageCommandImpl';
13+
import { getArchiveName } from '../collectionCommonUtils/packageCommandImpl';
1414
import { packageTemplates } from './packageImpl';
1515
import { getCollectionRef, getRef, OCICollectionRef } from '../../spec-configuration/containerCollectionsOCI';
1616
import { doPublishCommand, doPublishMetadata } from '../collectionCommonUtils/publishCommandImpl';
@@ -67,7 +67,6 @@ async function templatesPublish({
6767
const metadata = await packageTemplates(packageArgs);
6868

6969
if (!metadata) {
70-
output.write(`(!) ERR: Failed to fetch ${OCICollectionFileName}`, LogLevel.Error);
7170
process.exit(1);
7271
}
7372

0 commit comments

Comments
 (0)