Skip to content

Commit b8ceb7f

Browse files
committed
Cleanup error messages
1 parent f7100d8 commit b8ceb7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compose.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Compose {
1414
this.docker = dockerode;
1515

1616
if (file === undefined) {
17-
throw new Error('please specify a file and a project name');
17+
throw new Error('please specify a file');
1818
}
1919

2020
this.file = file;
@@ -28,7 +28,7 @@ class Compose {
2828
this.projectName = this.recipe.name || projectName;
2929

3030
if (this.projectName === undefined) {
31-
throw new Error('please specify a file and a project name');
31+
throw new Error('please specify a project name');
3232
}
3333
}
3434

0 commit comments

Comments
 (0)