@makano/rew 1.2.90 → 1.2.901

Sign up to get free protection for your applications and to get access to all the features.
@@ -229,10 +229,10 @@ const includeFile = (includeContent, options) => {
229
229
  straceLog('==> INCLUDE PACKAGE', filename);
230
230
  if(existsSync(pathname)) r = _inc(pathname);
231
231
  }
232
- if(!dontInclude){
233
- return r;
232
+ if(dontInclude){
233
+ return 'intentional-nothing';
234
234
  }
235
- return "";
235
+ return r;
236
236
  }
237
237
 
238
238
  function useImp(token, options){
@@ -518,7 +518,7 @@ function compileRewStuff(content, options) {
518
518
  const includeContent = token.value.split(' ')[1].trim() || '';
519
519
  const r = includeFile(includeContent, options);
520
520
  if(r){
521
- result += r;
521
+ result += r == 'intentional-nothing' ? '' : r;
522
522
  aliases = {
523
523
  ...aliases,
524
524
  ...execOptions._syntaxAliases
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makano/rew",
3
- "version": "1.2.90",
3
+ "version": "1.2.901",
4
4
  "description": "A simple coffescript runtime and app manager",
5
5
  "main": "main.js",
6
6
  "directories": {