File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
packages/app/src/app/overmind/effects/vscode/SandboxFsSync Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import {
1111 Sandbox ,
1212 SandboxFs ,
1313} from '@codesandbox/common/lib/types' ;
14- import { isAbsoluteVersion } from '@codesandbox/common/lib/utils/dependencies' ;
1514import { getGlobal } from '@codesandbox/common/lib/utils/global' ;
1615import { protocolAndHost } from '@codesandbox/common/lib/utils/url-generator' ;
1716import { getSavedCode } from 'app/overmind/utils/sandbox' ;
@@ -364,8 +363,7 @@ class SandboxFsSync {
364363 if (
365364 autoInstallTypes &&
366365 this . typesInfo [ dep . name ] &&
367- ! dep . name . startsWith ( '@types/' ) &&
368- isAbsoluteVersion ( dep . version )
366+ ! dep . name . startsWith ( '@types/' )
369367 ) {
370368 const name = `@types/${ dep . name } ` ;
371369 this . fetchDependencyTypingFiles ( name , this . typesInfo [ dep . name ] . latest )
You can’t perform that action at this time.
0 commit comments