diff --git a/Dockerfile b/Dockerfile index 4a507fd0..301f0277 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN cd /usr/src/app/vendor/php-parser/ && composer install --prefer-source --no- RUN adduser app -u 9000 COPY . /usr/src/app -run chown -R app . +RUN chown -R app . RUN npm install USER app diff --git a/spec/cc/engine/analyzers/javascript/main_spec.rb b/spec/cc/engine/analyzers/javascript/main_spec.rb index c7b7113f..c0ff1a8d 100644 --- a/spec/cc/engine/analyzers/javascript/main_spec.rb +++ b/spec/cc/engine/analyzers/javascript/main_spec.rb @@ -10,7 +10,6 @@ describe "#run" do it "prints an issue" do - create_source_file("foo.js", <<-EOJS) console.log("hello JS!"); console.log("hello JS!"); diff --git a/spec/cc/engine/analyzers/php/main_spec.rb b/spec/cc/engine/analyzers/php/main_spec.rb index b7c6c155..2158b9b7 100644 --- a/spec/cc/engine/analyzers/php/main_spec.rb +++ b/spec/cc/engine/analyzers/php/main_spec.rb @@ -10,7 +10,6 @@ describe "#run" do it "prints an issue" do - create_source_file("foo.php", <<-EOPHP)