Skip to content

Commit f7e3fd6

Browse files
committed
Remove errorenous logging
1 parent 9a3f6eb commit f7e3fd6

3 files changed

Lines changed: 1 addition & 13 deletions

File tree

src/resources/java/jenv/jenv.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ export class JenvResource extends Resource<JenvConfig> {
5151
override async refresh(): Promise<Partial<JenvConfig> | null> {
5252
const $ = getPty();
5353

54-
console.log('Zshrc', fs.readFileSync(`${os.homedir}/.zshrc`, 'utf8'));
55-
console.log('Path', (await $.spawnSafe('echo $PATH')).data);
56-
57-
5854
const jenvQuery = await $.spawnSafe('which jenv')
5955
if (jenvQuery.status === SpawnStatus.ERROR) {
6056
return null

test/shell/path.test.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,6 @@ describe('Path resource integration tests', async () => {
6565
], {
6666
validateApply: async () => {
6767
const { data: path } = await testSpawn('echo $PATH', { interactive: true });
68-
69-
console.log('My path', path);
70-
console.log('Temp dir 1', tempDir1);
71-
console.log('Temp dir 2', tempDir2);
72-
console.log('Zshrc', await fs.readFile(`${os.homedir()}/.zshrc`, 'utf-8'))
73-
7468
expect(path).to.include(tempDir1);
7569
expect(path).to.include(tempDir2);
7670
},

vitest.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ export default defineConfig({
44
test: {
55
pool: 'forks',
66
onConsoleLog: (log) => {
7-
if (!process.env.CI) {
8-
process.stdout.write(log);
9-
}
7+
process.stdout.write(log);
108
},
119
watch: false,
1210
setupFiles: ['./test/setup.ts'],

0 commit comments

Comments
 (0)