From 99eaf56f4b7a4de71ce87b47fa8b2ad3633cfd3d Mon Sep 17 00:00:00 2001
From: lstrsrmn <alistair.sirman@gmail.com>
Date: Thu, 21 Oct 2021 15:10:54 +0100
Subject: [PATCH] Updated gitignore

---
 .idea/.gitignore     | 2 ++
 src/Interpreter.java | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/.idea/.gitignore b/.idea/.gitignore
index 13566b8..d32fafc 100644
--- a/.idea/.gitignore
+++ b/.idea/.gitignore
@@ -6,3 +6,5 @@
 # Datasource local storage ignored files
 /dataSources/
 /dataSources.local.xml
+../.idea
+../out
\ No newline at end of file
diff --git a/src/Interpreter.java b/src/Interpreter.java
index 8391934..d99e480 100644
--- a/src/Interpreter.java
+++ b/src/Interpreter.java
@@ -3,7 +3,7 @@ import java.io.FileNotFoundException;
 import java.util.*;
 
 /**
- * the main class, runs all the sub-routinse
+ * the main class, runs all the sub-routine
  */
 public class Interpreter {
     public static void main(String[] args) {
@@ -39,9 +39,9 @@ public class Interpreter {
             }
         }
         catch (FileNotFoundException e){
-            System.out.println("File can't be found.");
-             e.printStackTrace();
-            // System.exit(1);
+            System.err.println("File can't be found.");
+            // e.printStackTrace();
+            System.exit(1);
         }
     }
 }
-- 
GitLab