joshfarrant/shortcuts-js

Error in REDME

Opened this issue · 0 comments

I found an error in "Shortcut folder creator" in README.md.

const {
  buildShortcut,
  withVariables,
} = require('@joshfarrant/shortcuts-js');
const {
  conditional,
  getBatteryLevel,
  setLowPowerMode,
  showResult,
} = require('@joshfarrant/shortcuts-js/actions');

I think this part should be below:

const { buildShortcut } = require("@joshfarrant/shortcuts-js");
const {
  chooseFromMenu,
  runShortcut,
} = require("@joshfarrant/shortcuts-js/actions");