File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -147,13 +147,13 @@ meteorNpm.dependenciesArePortable = function (nodeModulesDir) {
147
147
// away the next time those packages are (re)installed.
148
148
const portableFile = files . pathJoin ( item , ".meteor-portable" ) ;
149
149
if ( files . exists ( portableFile ) ) {
150
- return JSON . parse ( files . readFile ( portableFile ) ) ;
150
+ return ! JSON . parse ( files . readFile ( portableFile ) ) ;
151
151
}
152
- const portable = ! search ( item ) ;
153
- files . writeFile ( portableFile , JSON . stringify ( portable ) + "\n" ) ;
154
- return portable ;
152
+ const result = search ( item ) ;
153
+ files . writeFile ( portableFile , JSON . stringify ( ! result ) + "\n" ) ;
154
+ return result ;
155
155
}
156
- return ! search ( item ) ;
156
+ return search ( item ) ;
157
157
}
158
158
} ) || false ;
159
159
} ;
You can’t perform that action at this time.
0 commit comments