Skip to content

Commit c7a8a75

Browse files
formatting
1 parent d405d7c commit c7a8a75

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const getEnvironment = () => {
2-
console.log("[CLIENT] getEnvironment called");
3-
return "client";
2+
console.log('[CLIENT] getEnvironment called');
3+
return 'client';
44
};
55
const moduleLevel = getEnvironment();
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const getEnvironment = () => {
2-
console.log("[SERVER] getEnvironment called");
3-
return "server";
2+
console.log('[SERVER] getEnvironment called');
3+
return 'server';
44
};
55
const moduleLevel = getEnvironment();

‎packages/start-plugin-core/tests/createIsomorphicFn/test-files/call-at-module-level.ts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import { createIsomorphicFn } from '@tanstack/react-start'
22

33
const getEnvironment = createIsomorphicFn()
44
.server(() => {
5-
console.log("[SERVER] getEnvironment called");
6-
return "server";
5+
console.log('[SERVER] getEnvironment called')
6+
return 'server'
77
})
88
.client(() => {
9-
console.log("[CLIENT] getEnvironment called");
10-
return "client";
11-
});
9+
console.log('[CLIENT] getEnvironment called')
10+
return 'client'
11+
})
1212

13-
const moduleLevel = getEnvironment();
13+
const moduleLevel = getEnvironment()

0 commit comments

Comments
 (0)