Code Monkey home page Code Monkey logo

nova-rails-migrations's People

Contributors

wylan avatar

Stargazers

 avatar

Watchers

 avatar  avatar

nova-rails-migrations's Issues

Doesn't work (macOS 14.6)

Attempting to run either command fails.

Nova version: 1.1 (Build 207005)
Extension version: 1.0.1
macOS version: 10.14.6 (Mojave)

Exceptions are consistently written to the extension console:

Rails Migrations[0:31:05.051000] Extension encountered an uncaught exception:
/Users/Bruce/Library/Application Support/Nova/Extensions/wylan.RailsMigrations/Scripts/rails-migrations.js (Line 18, Column 0)
SyntaxError: Unexpected token '.'
    [native code]
    file:///Users/Bruce/Library/Application%20Support/Nova/Extensions/wylan.RailsMigrations/Scripts/main.js:1:92

Judging by the line number an the error message it looks like it may not like the null propagation operator ?.. MDN shows that this was only supported from Safari 13.1 onwards, so I wonder if this isn't supported in Mojave's version of JavaScriptCore (as Mojave originally shipped with Safari 12).

Is it feasible to adjust the code to use explicit null checks rather than the null propagation operator?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.