Skip to content

Commit 05fadbe

Browse files
authored
Update src/commands/env/pull.ts
1 parent 32f630a commit 05fadbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/env/pull.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default class EnvPull extends Command {
7474
]);
7575

7676

77-
fs.writeFileSync(args.file, env)
77+
fs.writeFileSync(args.file, env || "")
7878
this.log(chalk.green("Environment variable write to file successful."));
7979

8080

0 commit comments

Comments
 (0)