*: Fix minor issues
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This commit is contained in:
@ -33,7 +33,7 @@ func (c *cmdBuildDir) command() *cobra.Command {
|
||||
continue
|
||||
}
|
||||
|
||||
err := generator.Run(c.global.flagCacheDir, c.global.sourceDir, file)
|
||||
err := generator.Run(c.global.flagCacheDir, c.global.targetDir, file)
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ func (g DumpGenerator) dumpFile(path, content string) error {
|
||||
}
|
||||
defer file.Close()
|
||||
|
||||
_, err = file.WriteString(content)
|
||||
_, err = file.WriteString(content + "\n")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user