Skip to content

Commit

Permalink
Updated comments in main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Srijan-SS02 committed Nov 7, 2023
1 parent 89a691d commit 554b0df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ func main() {
if len(os.Args) > 1 {
targetDir = os.Args[1]
} else {
// If no target directory is provided, use the current working directory
// If no target directory is provided,then using current working directory
targetDir, err = os.Getwd()
if err != nil {
fmt.Println("Error getting current working directory:", err)
return
}
}

// Create or overwrite the Dockerfile in the target directory
// Creating or overwriting the Dockerfile in the target directory
outputFile, err := os.Create(filepath.Join(targetDir, "Dockerfile"))
if err != nil {
fmt.Println("Error creating Dockerfile:", err)
Expand Down

0 comments on commit 554b0df

Please sign in to comment.