Skip to content

Commit 66647fb

Browse files
committed
fix(local): fix append
1 parent 7f4dfd4 commit 66647fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export async function action() {
3535
// append
3636
let newRegistryText = `registry=${url}`;
3737
if (!configText.endsWith(line)) {
38-
newRegistryText = line + newConfigText;
38+
newRegistryText = line + newRegistryText;
3939
}
4040
newConfigText = configText + newRegistryText;
4141
} else {

0 commit comments

Comments
 (0)