Skip to content

Commit 365cba6

Browse files
author
shuo
committed
store
1 parent 5f3c831 commit 365cba6

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/extension.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,10 +1263,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<any> {
12631263
return;
12641264
}
12651265
const sourceContent = await vscode.workspace.fs.readFile(uri);
1266-
if (
1267-
sourceContent.length &&
1268-
!vscode.workspace.getConfiguration("objectscript").get<boolean>("autoAdjustName")
1269-
) {
1266+
if (!vscode.workspace.getConfiguration("objectscript").get<boolean>("autoAdjustName")) {
12701267
// Don't modify a file with content unless the user opts in
12711268
return;
12721269
}

0 commit comments

Comments
 (0)